TomBower
12-19-2010, 01:05 PM
Sorry for the second thread today but;
$ ('#navbar a') .click(function() {
var page = $(this).attr('href');
$('#main').load(page);
return false;
});
You see $ ('#navbar a'), how could you make it so it's like #navbar a or #login a? (ie. both div's can change the #main div?
Thanks!
$ ('#navbar a') .click(function() {
var page = $(this).attr('href');
$('#main').load(page);
return false;
});
You see $ ('#navbar a'), how could you make it so it's like #navbar a or #login a? (ie. both div's can change the #main div?
Thanks!