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

Getting Uncaught TypeError #22

Closed
WDC opened this issue Oct 14, 2013 · 2 comments
Closed

Getting Uncaught TypeError #22

WDC opened this issue Oct 14, 2013 · 2 comments

Comments

@WDC
Copy link

WDC commented Oct 14, 2013

I'm getting this error:

Uncaught TypeError: Cannot read property 'M' of undefined 
Uncaught TypeError: Object [object Object] has no method 'datetimepicker' 

with this code:

<input type='text' class="form-control" id='datetimepicker6'/>


<script>
$(function () {
    $('#datetimepicker6').datetimepicker();
});
</script>

I am using jQuery 1.8.3 and the latest Bootstrap JS and CSS with the latest datetimepicker CSS and JS.

The input is wrapped in a <td> if that is significant.

Thanks,

David

@Eonasdan
Copy link
Owner

@WDC I'm sorry you're having this issue. I'm having an issue with minifing the javascript. I'm working getting #5 fixed and getting the min file to work. If you need something to work immediately, use the full source js file under the src/js folder

@Eonasdan
Copy link
Owner

@WDC check out the latest all should be well again

kikonen pushed a commit to kikonen/bootstrap-datetimepicker that referenced this issue Jan 2, 2017
kikonen pushed a commit to kikonen/bootstrap-datetimepicker that referenced this issue Jan 2, 2017
rchavik pushed a commit to rchavik/bootstrap-datetimepicker that referenced this issue Mar 16, 2017
Repository owner locked and limited conversation to collaborators Jun 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants