hi all,
this is my first post so please say it if i do it wrong. I have a little problem with the click() function. I made the function below and this works fine, but when i click at the link from page-item-38 i want to go to localhost/page-item-38. I think this has something to do with simclick, but i can’t solve it.
anybody has a suggestion how i can make this work?
jQuery(document).ready(function()
{
//When page loads…
jQuery(“.children”).hide(); //Hide all content
//On Click Event
jQuery(“li.page-item-38 a:first”).click(function() {
jQuery(“li.page-item-38”).addClass(“active”); //Add “active” class to selected tab
return false;
});
});