Problem :-
I have been working in MVC and its very interesting to work with it. I just started working on JQuery. I have encountered this problem when implementing autocomplete to Text box in MVC with JQuery. The JavaScript error "Object Expected" will be coming when you reload the page. That means during first time load, there will be no problem. But if you click on paging and try to do autocomplete in text box. You could face this error in autocomplete statement.
Solution :-
Normally we used to include the Jquery files by dragging to the page. When we drag the files, the following text will be added,
<script src="../../Scripts/jquery-1.4.1.js" type="text/javascript">
The blue color text shows like the Scripts directory is placed inside one folder from the root. But its not like that. Its placed directly under the root.
So change that script include to the below one.
<script src="/Scripts/jquery-1.4.1.js" type="text/javascript">
This will solve your problem.
Conclusion :-
This may be the small issue but kill your time like anything. You won think the problem due to this script include tag.
Happy Coding.. :)