You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
there are 2 issues at play here first you are trying to create a popup in the body not in a page which was not supported in 1.3 however it is supported in 1.4 if you try and dynamically create a popup inside the body it works fine http://jsbin.com/ofuhaw/152/edit however this is a problem outside the page as is shown in your example this is due to an improper variable assignment
Issue description
On 1.3.1, creating a popup dynamically works as expected.
On 1.4.0a, this functionality returns an error "Cannot read property '0' of undefined"
Test page (see below)
http://jsbin.com/ofuhaw/151/edit
Steps to reproduce
Click the button "Open popup", which adds a div and attempts to instantiate the popup object with .popup().
Expected outcome
Div should have popup code added.
Actual outcome
Exception occurs: Cannot read property '0' of undefined
Platforms/browsers (including version) and devices tested
Chrome 28, OSX 10.8.4
jQuery Mobile and jQuery core version used
1.4.0a and jquery-1.10.1
The text was updated successfully, but these errors were encountered: