[jQuery] Re: Problem jQuery Selecting Input field

2008-10-06 Thread Alexander Gyoshev
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. > > > > > > > > > > > > > > > > > i want to access in

[jQuery] Re: Problem jQuery Selecting Input field

2008-10-06 Thread Adrian Lynch
Try this: $(function() { alert($("input[id$='home']").val()); alert($("input[id$='street']").val()); }); Adrian On Oct 6, 6:27 am, Faisal Basra <[EMAIL PROTECTED]> wrote: > Yes, right Morningz looks like this

[jQuery] Re: Problem jQuery Selecting Input field

2008-10-05 Thread Faisal Basra
Yes, right Morningz looks like this. i want to access input fields, just only specifying home, mobile,name, city, street,zip & not as form:input please any way ?

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-30 Thread MorningZ
why not show some sample html? it *sounds* like you have and you want all "field1"-s? On Sep 29, 11:30 pm, Faisal Basra <[EMAIL PROTECTED]> wrote: > Hi, Morningz I am thankful to your solutions and it really does work > for me. > > But, now situation c

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-29 Thread Faisal Basra
Hi, Morningz I am thankful to your solutions and it really does work for me. But, now situation comes like that i have mask against input fields and i stored them in database. just only input field id and mask. But no information of FORM. And, at runtime we don't want to hard code how many forms

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-29 Thread Prajwala Manchikatla
You can do like $('[id="test:name"]') That is attribute search. cheers, Prajwala On Mon, Sep 29, 2008 at 12:10 PM, Faisal Basra <[EMAIL PROTECTED]>wrote: > > Please, can i have any way in jQuery to just by specifying id like > (#phone) to get form:id ... > > On Sep 25, 6:28 pm, Faisa

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-29 Thread MorningZ
did you bother to read the previous replies?? both have the answer (and similar examples) On Sep 29, 2:40 am, Faisal Basra <[EMAIL PROTECTED]> wrote: > Please, can i have any way in jQuery to just by specifying id like > (#phone) to get form:id ... > > On Sep 25, 6:28 pm, Faisal Bas

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-28 Thread Faisal Basra
Please, can i have any way in jQuery to just by specifying id like (#phone) to get form:id ... On Sep 25, 6:28 pm, Faisal Basra <[EMAIL PROTECTED]> wrote: > Hi, I am unable to select the input filed based on ID, i am using JSF > and that append form id with the input id automatically.

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-26 Thread Richard D. Worth
Also in the FAQ: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F - Richard On Thu, Sep 25, 2008 at 10:37 AM, MorningZ <[EMAIL PROTECTED]> wrote: > > Straight from the Docs (http://docs.jquery.com/Selectors) > >

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-25 Thread MorningZ
Straight from the Docs (http://docs.jquery.com/Selectors) Note: if you wish to use any of the meta-characters described above as a literal part of a name, you must escape the character with two backslashes (\). For example: #foo\\:bar #foo\\[b

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-25 Thread Stinhambo
Try an underscore in the ID instead. Looks like jQuery is getting confused with the colon being a selector. $(#test_name).mask() should be good enough On Sep 25, 11:28 pm, Faisal Basra <[EMAIL PROTECTED]> wrote: > Hi, I am unable to select the input filed based on ID, i am using JSF > and that