jquery datepicker not showing in browser

Issues related to forms.
Post Reply
johnmalay
 
 
Posts: 19
Joined: Sun Sep 18, 2016 11:29 am

jquery datepicker not showing in browser

Post by johnmalay » Fri May 19, 2017 2:16 am

I set jquery mode to "overlay" on jquery datepicker setting. After publishing the file and open up in browser,it does not show anything. jquery box is showing, but when click the box,date is not come out. the jquery datepicker is inside form.
this is the code for jquery datepicker ;

Code: Select all

<input type="text" id="tarikh_lapor" style="position:absolute;left:160px;top:372px;width:321px;height:32px;line-height:32px;z-index:23;" name="tarikh_lapor_hantar" value="" spellcheck="false">

Before this, i'm using editform and set form type to "date" it show correctly in chrome,but in firefox it does not showing. that's why i try another solution like jquery datepicker.

User avatar
Pablo
 
Posts: 18376
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: jquery datepicker not showing in browser

Post by Pablo » Fri May 19, 2017 6:04 am

Did you upload/publish all files?
What is the URL of the page so I can see what you have done?
Before this, i'm using editform and set form type to "date" it show correctly in chrome,but in firefox it does not showing. that's why i try another solution like jquery datepicker.
Not all browsers do support the HTML5 date picker yet. This is unrelated to WWB.

johnmalay
 
 
Posts: 19
Joined: Sun Sep 18, 2016 11:29 am

Re: jquery datepicker not showing in browser

Post by johnmalay » Fri May 19, 2017 6:49 am

ok tq pablo. solve by publishing all files. my mistake. i just publishing modified file before

johnmalay
 
 
Posts: 19
Joined: Sun Sep 18, 2016 11:29 am

Re: jquery datepicker not showing in browser

Post by johnmalay » Fri May 19, 2017 8:28 am

now the jquery form does not submit the date inside mysql db. help me

User avatar
Pablo
 
Posts: 18376
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: jquery datepicker not showing in browser

Post by Pablo » Fri May 19, 2017 10:53 am

To be able to help you I need to see what you have done.
Can you please provide more details?

User avatar
BaconFries
 
 
Posts: 4271
Joined: Thu Aug 16, 2007 7:32 pm

Re: jquery datepicker not showing in browser

Post by BaconFries » Fri May 19, 2017 10:59 am

To be able to help can you please provide either a URL to the page in question or a URL to download a what you have done ie a copy of your .wbs project.

johnmalay
 
 
Posts: 19
Joined: Sun Sep 18, 2016 11:29 am

Re: jquery datepicker not showing in browser

Post by johnmalay » Fri May 19, 2017 11:30 am

i already figure out. it because date format setting in jquery datepicker is not the same as date format at mysql database. if i'm using varchar in my db, then any date format can be insert, but if i'm using "date" type in mysql database i must set the date format at jquery same as in mysql database. my db accept yy-mm-dd. tq for quick respond pablo and baconfries

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest