javascript - Jquery .live works but not with .datepicker -


Thanks for watching, all sincere helpful answers have been up-voted. I have some date input fields that load the pages and a bunch which is generated dynamically I instead of generating a new instance every time instead of calling it. I am using, but this does not work. Any ideas why?

  $ ("input [name = myfav]"). Live ("click", function () {$ (this) .datepicker ({/ * some options here * /});});  

I should tell, it works perfectly well with the completion of the example.

  $ ("input [name = mytwo]"). Live ("click", function () {$ (this). Autocomplete ("somefile.php");}); There is an article about datepicker in JQuery using the .live-event:  

< P>

The problem is that Datepicker works by default for the focus () event, but in the form of jQuery 1.3.2, the 'focus' event is called' live event function.

Here is the work around the site ::

   

Edit: Now this solution is not required as jQuery 1.4.1+, for now live () Focus and Blur events. (Thanks)


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -