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

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -