[jQuery] Select by containing text

2009-10-05 Thread Julijan Andjelic
Is there a way (selector) that would allow me to select an element by exact mach of containing text. example: This is some text This Lets say i want to select only the second div $("div:contains('This')")... okay, it would select it, but...it would also select the first one. I coul

[jQuery] Re: AJAX and ampersand

2009-08-25 Thread Julijan Andjelic
Thanks Liam Potter, this worked perfectly! On Aug 25, 12:15 pm, Liam Potter wrote: > You need to url encode it, or just replace it with %26 > > Julijan Andjelic wrote: > > Is there any was to prevent ampersand from splitting up the passed > > data? > > > For

[jQuery] Re: AJAX and ampersand

2009-08-25 Thread Julijan Andjelic
r you have got the data if you really need. > > Thanks & Regards, > Dhruva Sagar. > > Samuel > Goldwyn<http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html> > - "I'm willing to admit that I may not always be right, but I am never > wrong."

[jQuery] AJAX and ampersand

2009-08-25 Thread Julijan Andjelic
Is there any way to prevent ampersand from splitting up the passed data? For example if my data looks like: "This is some text&blah blah" If I pass it as data it will get split up at "&": This is some text blah blah Any solutions?

[jQuery] AJAX and ampersand

2009-08-25 Thread Julijan Andjelic
Is there any was to prevent ampersand from splitting up the passed data? For example if my data looks like: "This is some text&blah blah" If I pass it as data it will get split up at "&": This is some text blah blah Any solutions?

[jQuery] Re: best table plugin for large tables?

2009-08-18 Thread Julijan Andjelic
I've just created one yesterday, check it out here: http://code.google.com/p/spager/

[jQuery] Re: .load() and executing JavaScript from loaded content

2009-08-17 Thread Julijan Andjelic
You can safely use filters, it's not a hack or a workaround, probably your JS is being transmitted as a plain text, tried evaluating the result? On Aug 16, 4:34 pm, Benjamin Wohlwend wrote: > Hi, > > On Aug 16, 1:58 pm, Charlie wrote: > > > what happens if you load the whole #container div? se

[jQuery] attr doesn't work in IE6 and Chromium

2009-08-11 Thread Julijan Andjelic
$("#sitemap a:eq(1)").attr("onclick","$('#sitemap a:eq(2)').text(''); sch('brands', '").text(" / "); $("#sitemap a:eq(2)").attr("onclick", "$('#sitemap a:eq(1)').text(''); sch('categories', '").text(" /

[jQuery] Re: Global AJAX events, not working?

2009-08-05 Thread Julijan Andjelic
Yes, I've checked it. It shows up nicely once I remove the "display:none" attribute. On Aug 5, 9:15 pm, "Cesar Sanz" wrote: > Check the height/width of the #loading element > > maybe it is collapsed,so, you cannot view it > > - Original Messag

[jQuery] AJAX global events

2009-08-05 Thread Julijan Andjelic
$("#loading").ajaxStart(function() { $(this).show(); }). ajaxComplete(function() { $(this).hide(); }) This is my code, it should make the "loading" image visible when ajax is active but this doesn't seem to work, any ideas what am I doing wrong? I've also tried with bind but also didn't work.

[jQuery] Global AJAX events, not working?

2009-08-05 Thread Julijan Andjelic
I've tried like this: $("#loading").ajaxStart(function() { $(this).show(); }). ajaxComplete(function() { $(this).hide(); }) I've triple checked the id of loading image and everything, but still doesn't work. Any ideas what could be wrong?