Jquery for webapps
Jquery for webapps
Hi there,
I try to build web base app.
In my home page, there is left side for navigator and right side for the content.
while i click the nav menu, i just load the content with page code.
- $(".naviref").click(function() {
var toLoad = $(this).attr('href')+'.php';
$('#content').load(toLoad);
return false;
});
but, I realise if calling same page (with form) multiple time, jquery is read always my first form from the page.
So, is the load function not wipe last script and content from the div ?
is there better way to do the navigator way ? since i dont want to use iframe again.
Thank You.