Reputation: 3792
I have JS function that calls a dialog
function SomeFunction {
$('#editformdialog').dialog('open');
}
That's obviously simplified. However, I get a is undefined
I then add console.log(typeof dialog);
and that brings back undefined
It works when using jQuery 1.7.1 but not 1.8.12 (needs to be latest). It works in Firefox and not Chrome.
Any ideas?
Thanks,
JJ
Upvotes: 2
Views: 6117
Reputation: 3792
http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.js
Using the latest version and it's sorted!
Upvotes: 1