[jQuery] Re: need suggestions on ajax

2007-04-04 Thread bingo
Thanks Kristinn, this is wonderful explanation of my problem... Regards, Ritesh On Apr 1, 11:55 am, "Kristinn Sigmundsson" <[EMAIL PROTECTED]> wrote: > This is from an earlier post, it shows you how to add events only to > the recently added content. Aswell as talking about handlers in > genera

[jQuery] Re: need suggestions on ajax

2007-04-01 Thread Kristinn Sigmundsson
This is from an earlier post, it shows you how to add events only to the recently added content. Aswell as talking about handlers in general. Might prove usefull for you. Hi Kim, My friend Jonathan Chaffer posted a reply to a simi

[jQuery] Re: need suggestions on ajax

2007-04-01 Thread bingo
okie..I found a solution..but not sure how good it is.. here is what I have done.. I have created a function like this jQuery.fn.loadContent = function(options) { $(this).removeClass("loadContent"); $(this).addClass("pointer"); return $(this).click(function(){

[jQuery] Re: need suggestions on ajax

2007-04-01 Thread bingo
hi Kristinn.. sorry for the confusion..in haste..I forgot to type in href attribute in the span..the actual code contains href attribute also... Regards, Ritesh On Apr 1, 5:18 am, "Kristinn Sigmundsson" <[EMAIL PROTECTED]> wrote: > curious about one thing, where do you get the url from in: > ur

[jQuery] Re: need suggestions on ajax

2007-04-01 Thread Kristinn Sigmundsson
curious about one thing, where do you get the url from in: url = $(this).attr('href'); as the span doesn't have a href attrib. On 4/1/07, bingo <[EMAIL PROTECTED]> wrote: Hi, I am having some trouble with ajax and jquery... I have my default webpage template and in that I have defined my ja