Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When used with JQuery Mobile loaded, causes "Object doesn't support this property or method" error. #1

Closed
GoogleCodeExporter opened this issue Mar 18, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. add JQuery Mobile js to the demo page
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>


What is the expected output? What do you see instead?
Demo page should render and function without errors. Instead got javascript 
error "Object doesn't support this property or method" when the code trys to 
initialize the scroller:

$('#date1').scrooler();

What version of the product are you using? On what operating system?
The latest (1.0b). JQuery 1.5 and JQuery Mobile 1.0a3.


Please provide any additional information below.
Trying to build a mobile web application using jquery mobile. So I need a 
datepicker suitable for mobile app. The scroller works great with just jquery. 
But I also need the functionalities of the jquery mobile. Please make them work 
together. thx.

Original issue reported on code.google.com by GAMa...@gmail.com on 1 Mar 2011 at 4:06

@GoogleCodeExporter
Copy link
Author

Actually it's working just fine with jquery 1.5 and jquery mobile 1.0a3. See 
the demo page now: http://theacidmedia.net/demo.html

Maybe it's just a typo, you wrote 
$('#date1').scrooler(); 
instead of
$('#date1').scroller(); 

Original comment by diosla...@gmail.com on 1 Mar 2011 at 10:10

  • Changed state: Invalid

@GoogleCodeExporter
Copy link
Author

Thx for the fast response. But your demo page is still using jquery 1.4.2 and 
no jquery mobile. And yes, it was a typo as it should be 
$('#date1').scroller();.

Original comment by GAMa...@gmail.com on 1 Mar 2011 at 4:36

@GoogleCodeExporter
Copy link
Author

Nevermind. With a fresh new morning set of eyes found the problem. I used the 
css file as the src of the script tag. Duh! Thx.

Original comment by GAMa...@gmail.com on 1 Mar 2011 at 4:53

@GoogleCodeExporter
Copy link
Author

The demo IS using jquery 1.5 and jq mobile. Try clearing the cache and 
reloading the page.

Original comment by diosla...@gmail.com on 2 Mar 2011 at 12:04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant