thanks! :)

On 6/20/07, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> If you want para to be $('p#secondPara'), then you can .insertAfter()
> instead:
>
>  var para = $('<p
> id="secondPara">...</p>').insertAfter('p#firstPara');
>
>
>
> --Karl
> _________________
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
>
>
>
>
>
> On Jun 19, 2007, at 10:41 PM, March wrote:
>
>
> e.g.
>
> var para = $('p#firstPara').after('<p id="secondPara">...</p>');
>
> now, what's para? $('p#firstPara') or $('p#secondPara')?
> in my testing, it's $('p#firstPara'), but i think it should be
> $('p#secondPara')...
>
> --
> Zacky Ma
> www.marchbox.com
>


-- 
Zacky Ma
www.marchbox.com

Reply via email to