Re: [jQuery] Bug when overriding links within specific context, using jQuery 1.1.*?

2007-03-05 Thread Søren Haagerup
John Resig wrote: > > I think this is due to the fact that no context is passed in to the > .load() callback, in that manner. I think doing something like this > would work: > [...] > That way, only the links directly within the paragraph will be overridden. > Great! Your solution seems to sol

[jQuery] Bug when overriding links within specific context, using jQuery 1.1.*?

2007-03-02 Thread Søren Haagerup
Hi everyone, I have got some trouble getting this snippet of code working in newer versions of jQuery: $(document).ready(function(){ $("p").each(function(){ $(this).load("ajax.php", function(context){ $("a",context).click(function(){

[jQuery] Script optimization and porting (1.0.4 --> 1.1.1)

2007-01-25 Thread Søren Haagerup
Hello everyone, I recently started looking into porting existing code to jQuery 1.1.1. I stumbled upon problems with my "multi-level" table script. A simplified version of it can be seen here: jQuery 1.0.4: http://gawis.dk/jquery-testbed/table/ jQuery 1.1.1: http://gawis.dk/jquery-testbed/table

Re: [jQuery] Accessing span before input

2007-01-05 Thread Søren Haagerup
roposal looks even more ridiculous :-). Thanks a lot, Sam! Best regards Søren Haagerup -- View this message in context: http://www.nabble.com/Accessing-span-before-input-tf2928666.html#a8188199 Sent from the JQuery mailing list archive at Nabble.com. _

[jQuery] Accessing span before input

2007-01-05 Thread Søren Haagerup
ntation, with many weaknesses. First of all, it loops through all elements on the site. Secondly, it breaks, if there are more tags in the site loaded by Ajax. Any better ideas? Best regards, Søren Haagerup -- View this message in context: http://www.nabble.com/Accessing-span-before-input-tf2

[jQuery] Charset and load()

2006-09-02 Thread Søren Haagerup
jQuery. Apart from this, jQuery is the best thing that ever happened to DOM scripting! Best regards, Søren Haagerup ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/