[jQuery] Re: Having trouble thinking through the how: make node, append (w/o showing), then fade in ...

2008-12-08 Thread ricardobeat
Ryura's code should work just fine, could you put up a test page showing the error? Something like this looks a bit better (to me) and should work just as well: $('li /') .append( $('input type=text /').val(item.a) ) .hide().appendTo('myList') .slideDown() - ricardo On Dec 8, 1:15 

[jQuery] Re: Having trouble thinking through the how: make node, append (w/o showing), then fade in ...

2008-12-08 Thread nathanziarek
I really appreciate your helping with this. I'm still not sure what wasn't working with Ryura's code, but after copying and pasting it to a new document, it too works for writing the elements to the document. The hide() and slideDown() commands don't seem to be getting through, though. Here is

[jQuery] Re: Having trouble thinking through the how: make node, append (w/o showing), then fade in ...

2008-12-08 Thread nathanziarek
Ah-ha! I'd love to know more about the internals at play here, but rearranging the hide() and the appendTo commands did the trick. For anyone else that might stumble across this thread: $('li /') .append( $('input type=text /').val(item.a) ) .appendTo('myList').hide() .slideDown()

[jQuery] Re: Having trouble thinking through the how: make node, append (w/o showing), then fade in ...

2008-12-07 Thread Ryura
What about something like this? $(liinput type='text' value= + item.a + //li).hide ().appendTo(#myList).slideDown(fast); On Dec 7, 8:10 pm, nathanziarek [EMAIL PROTECTED] wrote: I'm having a hard time working through this in my mind (and a much harder time in code.) I am receiving a JSON

[jQuery] Re: Having trouble thinking through the how: make node, append (w/o showing), then fade in ...

2008-12-07 Thread nathanziarek
Thanks Ryura -- That's exactly what I thought I could do, but could not get it to work. That's when I came up with my much less elegant solution that works OK, but I have the feeling has some serious shortcomings. The error I get with your solution is Value undefined (result of expression