Hello I'm a bit new to jquery tools and javascript in common. I've tried to google/search this forum, but I probably dont know exactly what to search. Thing is: I have a page which has tabs. Inside one tab when the button is pressed depending os input text it list some records Loads using
myUrl = 'admin/listusers/' + mySearch +'/'+ pageNr +'/';
$("#userlist").html("<b>Loading user list...</b>");
$("#userlist").load(myUrl);
the loaded content contains links to be opened in Overlay.
I've tried putting overlay code in all 3 locations (main page html, tab inner html, dynamic content itself) it still does not work, it just open links in the same window, just like regular ones.
Dynamic content also contains another javascript function and it works (used for pagination onclick="pagepress(PageNr):
function pagepress(pageNr) { searchstring = document.getElementById('searchstring');
if (searchstring.value != '') {
mySearch = searchstring.value;
} else {
mySearch="0";
}
myUrl = 'admin/listusers/' + mySearch +'/'+ pageNr +'/';
$("#userlist").html("<b>Loading user list...</b>");
$("#userlist").load(myUrl);
}
What might be wrong? Or maybe someone can give me a tip what to look for?
Thanks