javascript - Highlight a DIV on click in page with pagination -


i highlighting div on load. , passing div id form page.

$(document).ready(function() {     //this highlight on load     $("#<?php echo $_get['id'];?>").effect("highlight", {}, 3000);  }); 

but in result page have pagination. highlighting first page divs how can other divs on later pages?

you have pass id next page also.

ex www.mysite.com/index.php?page=2&id=thisid 

then

$(document).ready(function() {     //this highlight on load     $("#<?php echo $_get['id'];?>").effect("highlight", {}, 3000); }); 

Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -