Try :
var i = jQuery("#i");
var inputs = jQuery("input", i);
__
Romain


On 3 juil, 12:30, howa <[EMAIL PROTECTED]> wrote:
> e.g.
>
> 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...

Reply via email to