![]() |
Datepicker jquery no view - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Datepicker jquery no view (/showthread.php?tid=40795) |
Datepicker jquery no view - El Forum - 04-19-2011 [eluser]Zimooon[/eluser] Hi guys, I loaded JqueryUI Datepicker and inserted it to my folders. I don't get any errors , named all stuff right . But still when i click on the submit field the windows doesn't pop up. Heres the code of head: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> and here is my view where i want to get the datepicker: Code: <?php Any1 got an idea? Datepicker jquery no view - El Forum - 04-19-2011 [eluser]Zimooon[/eluser] i managed it to view the popup. now another problem ![]() Code: [removed] <input type="text" id="date" name="date" > -> works <?php echo form_input('date'); ?> -> dont work Biggest thing is that the date of the html form above doesnt get write to my database. php form does but dont get the jsplugin. Datepicker jquery no view - El Forum - 04-19-2011 [eluser]cahva[/eluser] It doestn work because with only that, there's no id for the input field and $("#date").datepicker() is referring to id called "date". To add id, you can do it like this: Code: echo form_input('date','','id="date"'); Datepicker jquery no view - El Forum - 04-20-2011 [eluser]Zimooon[/eluser] allright thank you cahva . I tried this out too but it didn't work. After you posted this i looked things up and found out that german date format is 01.04.2010 and my database didn't accept 01/04/2010 like the standard of english datepicker is ![]() thanks again have a nice day |