Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 31, 2012 11:14 PM by eric2820
Contributor
2777 Points
1161 Posts
Dec 30, 2012 02:57 PM|LINK
When I test my site under the debugger it keeps poping up a JavaScript exception:
Microsoft JScript runtime error: Unable to set value of the property 'unobtrusive': object is null or undefined.
Question 1: Is anyone else seeing this issue?
Question 2: Does anyone know how to correct this issue?
Question 3: If you know how to get around this issue, would you mind sharing it with the rest of us?
Participant
1026 Points
388 Posts
Dec 30, 2012 03:55 PM|LINK
Can you show code where error ocures, also what script and line number.
Dec 30, 2012 07:44 PM|LINK
I don't have line number in the this JavaScript file,
But the function that is hightlighted is this one:
$jQval.unobtrusive = {
Which is about 1/3 of the way down in the file.
All-Star
36882 Points
5451 Posts
Dec 31, 2012 03:48 PM|LINK
the error means the jquery validation library was not properly loaded.
Dec 31, 2012 11:14 PM|LINK
This is the load order for the JavaScript files:
jquery-1.8.3.js jquery-ui-1.9.2.js jquery.unobtrusivie-ajax.js jquery.validate.unobtrusive.js
Is that correct or should I be reversing the last two?
eric2820
Contributor
2777 Points
1161 Posts
jquery.valiadate.unobtrusive.js issue
Dec 30, 2012 02:57 PM|LINK
When I test my site under the debugger it keeps poping up a JavaScript exception:
Microsoft JScript runtime error: Unable to set value of the property 'unobtrusive': object is null or undefined.
Question 1: Is anyone else seeing this issue?
Question 2: Does anyone know how to correct this issue?
Question 3: If you know how to get around this issue, would you mind sharing it with the rest of us?
http://www.my-msi.net/Admin
blog
If a post helps you, please mark it as Ansered, thank-you.
ThatsIT
Participant
1026 Points
388 Posts
Re: jquery.valiadate.unobtrusive.js issue
Dec 30, 2012 03:55 PM|LINK
Can you show code where error ocures, also what script and line number.
eric2820
Contributor
2777 Points
1161 Posts
Re: jquery.valiadate.unobtrusive.js issue
Dec 30, 2012 07:44 PM|LINK
I don't have line number in the this JavaScript file,
But the function that is hightlighted is this one:
$jQval.unobtrusive = {
Which is about 1/3 of the way down in the file.
http://www.my-msi.net/Admin
blog
If a post helps you, please mark it as Ansered, thank-you.
bruce (sqlwo...
All-Star
36882 Points
5451 Posts
Re: jquery.valiadate.unobtrusive.js issue
Dec 31, 2012 03:48 PM|LINK
the error means the jquery validation library was not properly loaded.
eric2820
Contributor
2777 Points
1161 Posts
Re: jquery.valiadate.unobtrusive.js issue
Dec 31, 2012 11:14 PM|LINK
This is the load order for the JavaScript files:
jquery-1.8.3.js
jquery-ui-1.9.2.js
jquery.unobtrusivie-ajax.js
jquery.validate.unobtrusive.js
Is that correct or should I be reversing the last two?
http://www.my-msi.net/Admin
blog
If a post helps you, please mark it as Ansered, thank-you.