>How to re-select?
>
><p id="i">
>   <input ... />
>   <input ... />
>   <input ... />
></p>
>
>var i = jQuery("#i");
>
>
>Q:
>
>so how to select all the input inside p?
>
>i know i can use jQuery("p > input"), but I want to re-use the
>variable i as already selected since i want my
>functions be more flexible...

You can use:

i.find("input");

- or -

$("input", i);

-Dan

Reply via email to