pee2pee
pee2pee

Reputation: 3792

jQuery Dialog - Undefined

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

Answers (1)

pee2pee
pee2pee

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

Related Questions