i have a site with links that look like this: onClick = ajax(‘link.html’,’contentdiv’)
but i want to use jquery ui tabs inside the contentdiv, i tried even to put all the code inside the html but nothing, i tried:
$(document).ready(function() {
$("#tabs").tabs({});
and also:
$((function() {
what should i put in the index.html and the link.html to make it work? the #tabs div is inside the link.html
thanks
you dont have to do that anymore.. just simply use live method, which they created in new release, it will work on new div also
EDITED:
if you adding tabs inside ajax content after click, then do following