DOM Manipulation problem
DOM Manipulation problem
Hi to everybody!
I'll try to explain my problem:
I need to do multi DOM manipulation into a page without reload it (something like: when i click on a thum in another part load a photo with a specific text, if i click on this text load another photo).
I use a js like
-
$(document).ready(function() {
$(".MYCLASS1").click(function(){
// MY_CODE 1
return false;
});
$(".MYCLASS2").click(function(){
// MY_CODE 2
return false;
});
});
first page loading everything goes good.... but when i fall into MY_CODE1, i can't execute MY_CODE2 anymore.....
any suggestions?
thanks in advance