attributeEndsWith <http://docs.jquery.com/Selectors/attributeEndsWith>selectors:

$("input[id$=':home']")


On Mon, Oct 6, 2008 at 8:27 AM, Faisal Basra <[EMAIL PROTECTED]> wrote:

>
> Yes, right Morningz looks like this.
>
> <form id="phone">
>   <input id="phone:home" />
>   <input id="phone:mobile" />
> </form>
>
> <form id="customer">
>   <input id="customer:name" />
>   <input id="customer:city" />
> </form>
>
> <form id="address">
>   <input id="address:street" />
>   <input id="address:zip" />
> </form>
>
> i want to access input fields, just only specifying home, mobile,name,
> city, street,zip & not as form:input
> please any way ?
>

Reply via email to