Hello Alex, The only reason it would be a problem is if you don't apply the jQuery to the input every time it is loaded or if it is loaded a second time and old input is still on the page then you have two elements with the same id.
If you have two elements with the same id jQuery wont do anything as it expects that an id is unique. Nalum On Sep 29, 7:01 pm, Alex Barrios <alexba...@gmail.com> wrote: > 2009/9/29 Nalum <mallon.l...@gmail.com>: > > > > > Hello Alex, > > Is <input type="text" name="date" id="idFIV" readonly="true" size="10" > > class="calendario" style="border:none"> loaded in using ajax? > > > If it isn't then you don't need to put the date picker into a > > function, you could do the following:http://pastebin.com/m4ddcd98b > > > If it is loaded with ajax then you need to call the function every > > time it is loaded into the page. > > > Hope this helps > > Nalum > > Hello Nalum... > > That's right, that input its loaded with ajax... > > I use the dateSelector function to unify in one place all the dates > that are used in the forms, so if i need to change the format i just > do this in one place. > > Could this be a problem ? > > Thanks for all your help. > > -- > Alex Barrios