Hi support,
I'm using the Kendo Framework Validator together with Siteifnity.
I'm getting this error when running my page:
This is the code I use in my page:
Any thoughts?
Kind regards,
Daniel
I'm using the Kendo Framework Validator together with Siteifnity.
I'm getting this error when running my page:
Timestamp: 21-3-2013 14:18:05
Error: TypeError: $(...).kendoValidator is not a function
Source File: http://localhost/nead/producten
Line: 909
$(document).ready(
function
() {
$(
'#addReview'
).hide();
var
validator = $(
"#addReview"
).kendoValidator().data(
"kendoValidator"
);
//status = $(".status");
$(
"<%=submit.ClientID %>"
).click(
function
() {
if
(validator.validate()) {
status.text(
"Hooray! Your tickets has been booked!"
)
.removeClass(
"invalid"
)
.addClass(
"valid"
);
}
else
{
status.text(
"Oops! There is invalid data in the form."
)
.removeClass(
"valid"
)
.addClass(
"invalid"
);
}
});
});
Kind regards,
Daniel