Error being thrown on Android devices
-
Hi,
Love the plugin, using it to add a date picker field to a Contact Form 7 form.
However am getting an error being thrown on Android devices that causes the site not to load.The error is this
Uncaught TypeError: $(…).live is not a function(…)And it looks like it cannot complete this function below. This is causing the site not to fully load on mobile android devices. (tested both on real device and through browserstack)
$( ".ui-page" ).live( "pagecreate", function(){ $( "input[type='date'], input:jqmData(type='date')" ).each(function(){ $(this).after( $( "<div />" ).datepicker({ altField: "#" + $(this).attr( "id" ), showOtherMonths: true }) ); }); });
Can you help me on this?
This issue seems to only be on Android, works okay everywhere else as far as I can test.On another note, I get a double datepicker show up on Chrome, and the one the plugin is creating doesn’t fill the field when clicked, but the ‘native’ chrome datepicker that appears does work and fill the field correctly.
Any thoughts on these would be great.
Many Thanks,
Nick
- The topic ‘Error being thrown on Android devices’ is closed to new replies.