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, 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. > > > > like this.... and > > > > <input type="text" id="test:name"> & how to select input > > id(test:name) in jQuery the input field whose id is test:name > > > > The, complete code is given below..... Please anyone can help, will be > > thankful. > > > > jQuery.noConflict();(function($) { > > $(function() { > > jQuery.mask.addPlaceholder('~','[+-]'); > > $('#date').mask('99/99/9999'); > > }); > > > > })(jQuery); > > > > <form id="test"> > > <input type="text" id="test:name"> > > </form> >