howa wrote:
How to re-select?<p id="i"> <input ... /> <input ... /> <input ... /> </p> var i = jQuery("#i"); 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...
If I understood you correctly you already have i defined and want to reuse it later to select all inputs within?
so if:
var i = jQuery("#i");
then:
i.find('input');
should do the trick.
--
Suni

