Ive got a ASP.NET page that has a link that opens a dialog window "edit appointment", which works fine
function editAppointment(event) {
$("#editAppointment")
.load("/Schedule/Edit/" + event.id,
function() {
$("#editAppointment").dialog('open');
});
}
function loadClient(clientId) {
alert('hi');
$("#clientEditForm")
.load("/Client/Edit/", function() {
$("#clientEditForm").dialog('open');
});
}
Within the page "/Schedule/Edit/" has a link to open the dialog "loadClient"
The function is called ok, but does not show another dialog window it use to work with an older version of jquery ui/jquery, now using the latest versions!, all I get is a javascript error
Uncaught TypeError: Object [object Object] has no method 'dialog' Schedule:346
(anonymous function) Schedule:346
b.extend.each jquery.1.9.1.min.js:4
b.fn.b.each jquery.1.9.1.min.js:4
(anonymous function) jquery.1.9.1.min.js:19
c jquery.1.9.1.min.js:4
p.fireWith jquery.1.9.1.min.js:4
k jquery.1.9.1.min.js:19
r