Re: [jQuery] Remove element, keep children

2010-01-14 Thread Gus Waddell
hild function removeParent(){ $('#parent').children().insertBefore('#parent'); $('#parent').remove(); /* or the one line alternative: $('#parent').children().insertBefore('#parent').end().end().remove(); */ } Cheers, Gus On Thu, Jan 14, 20

Re: [jQuery] Function won't fire on load...

2010-01-14 Thread Gus Waddell
) $( "#" + t + " img" ).hide() } }); if( !$( "div.introbody" ).length ){ $( ".project" ).initSlides() } }); (I threw in an alert just to make sure it was firing!) Cheers, Gus On Thu, Jan 14, 2010 at 7:38 PM, knal wrote: > Hi there, >

[jQuery] Convert from mootools to jquery

2008-11-16 Thread gus
Hi i want to know if this code can be converted to jquery. It's a very good hoover pop up with effect code. function initCloseButton(){ var blocks = document.getElementsByTagName("li"); for (var i=0; i

[jQuery] Re: JSON parser?

2008-11-10 Thread Gus
I'm evaluating a JSON string that is stored on the client side (in a hidden field). I use this string just as a search filter, so I think eval is OK in this scenario too. But, as I've been using jQuery a lot recently, I thought I could leverage some JSON parsing in my code. Thanks weepy, good hint

[jQuery] Re: JSON parser?

2008-11-10 Thread Gus
Really? I thought it had because jQuery evaluates JSON internally (e.g.: getJSON method). On Nov 10, 2:42 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > Does jQuery comes with a built-in JSON parser? > > I need a FROM JSON function as an alternative to using eval. > > No it does not.  I recommend

[jQuery] JSON parser?

2008-11-10 Thread Gus
Hi, Does jQuery comes with a built-in JSON parser? I need a FROM JSON function as an alternative to using eval. Thanks,

[jQuery] Re: JSON data issue in IE | Language Translation

2008-10-15 Thread Gus
how'd you fix it? On Sep 25, 3:11 pm, Arif <[EMAIL PROTECTED]> wrote: > I have resolved this :) > > Thanks > Mohammed Arifhttp://www.mohammedarif.com > > On Sep 22, 2:24 pm, Arif <[EMAIL PROTECTED]> wrote: > > > Even I got the issue, it's not been rendering because of French > > accented characte