Forum



04:54

19/03/2011

Hi,
After pageload (document ready) i call this function to alter all links (a href)
event.preventDefault();
$.get(this.href,{},function(response){
$('#response').html(response);
})
})
Now the "problem" is if i click f.e. "next" on the pager, then the newly loaded data does not have this alternation on the links.
i tried using gridComplete
gridComplete: function(){
$('a.classy').bind('click',function(event){
event.preventDefault();
$.get(this.href,{},function(response){
$('#response').html(response);
})
})
}
});
it did not work. Is the scope of gridComplete reaching to the new ajax-load by requesting another page?
Maybe i am completely at the wrong road :/ . How could this be achieved?
thanks very much for a small hint.
Kind Regards,
Gerome
Most Users Ever Online: 715
Currently Online:
70 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66