Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I follow the tutorial here exactly but I keep getting this error:

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'jtable'

Any idea how to resolve it?

Here is my header:
<script type="text/javascript" src="/Scripts/jquery-1.8.3.js">
       </script>

       <script type="text/javascript" src="/Scripts/jquery-ui-1.9.2.js">
       </script>

       <link href="/Scripts/jtable/themes/standard/green/jtable_green.css"
             rel="stylesheet" type="text/css" />

       <script type="text/javascript" src="/Scripts/jtable/jquery.jtable.js">
       </script>
Posted

1 solution

Clearly either one of these files is not there, or your code is just wrong. The browser cannot tell you're using MVC, and the fact that you are, makes no difference to how you write client side script
 
Share this answer
 
Comments
Zumicts 8-Jan-13 14:48pm    
You're answer is 50% unrelevent to what I've ask. To recap my question is: "Any idea how to resolve it?" not "Does it make a different if I'm using MVC".
Christian Graus 8-Jan-13 14:50pm    
That's right, I added some more information b/c you seem to have no idea how MVC works or what it does. The only possible answer is, make sure the file is there, and if it is, and if it's being loaded ( check in Chrome ), then the code you DIDN'T post has the issue. We can't fix code we can't see.
Zumicts 8-Jan-13 14:56pm    
Thhe title tries to reference the tutorial here on CodeProject that I use.
Zumicts 8-Jan-13 14:49pm    
The files are indeed there. Because I can track the progress when it's loading them. JQuery and Jquery UI are fine. JTable also, as it's not getting any error; unless I load it before JQuery UI.
Christian Graus 8-Jan-13 14:50pm    
So, your code is broken. You didn't show us the broken code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900