Datepicker jquery no view |
[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?
[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.
[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"');
[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 |
Welcome Guest, Not a member yet? Register Sign In |