javascript - How to create dynamic URL without using anchor href? -
how create dynamic url without using anchor href ?
<a name="link";href="php_files/category_template.php?x=<?php echo $link[$j];?>"><?php echo $title[$j];?> </a></li>
i have working read csv , make page on fly so, want move page without using href.
thanks & regards
you can use onclick
event of js
locatio.href
this
<div onclick="location.href='php_files/category_template.php?x=<?php echo $link[$j];?>';"> <?php echo $title[$j];?> </div>
Comments
Post a Comment