How to perform click event on multiple elements-Jquery -
i know there several places question might have answered , followed same way mentioned in 1 of answers, looks click event not getting triggered whatsoever.
$("#overview").add("a.main").click(function(){ location.reload(true); });
html:
<div> <a href= "index.php" id="overview"> </div> <a class="main" href="#main.php">
is im trying do, click not getting triggered..
if just:
$("#overview").click(function(){ location.reload(true); });
it works fine..im missing here..any ideas please?? thanks!
Comments
Post a Comment