Hi,

actually, you would have several ways to do this with js, from complex regex
to a json file used to know what you want to retreive with ajax

but, there is such a simple way to do this with your server side language
thatt i would be what i would do in this case

send (post, get) a peculiar var with your ajax request and, in every menu
concerned page, just enclose every part you don't want to retreive with ajax
in your page with (assuming you're working with php but the same with any ss
language)

<?php if (!isset($_POST['yourVar'])): ?>
// for example doctype header
<?php endif; ?>

this way, without js, you page with show with every part and in you ajax
retreived htmlstring, you'll only get the parts you nedd

easy, isn't it ? :)
Have swing
-- 
View this message in context: 
http://mootools-users.660466.n2.nabble.com/Moo-ajax-and-the-dom-tp4991680p4992694.html
Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to