jquery not working in mvc after publishing to server
        Posted  
        
            by czuroski
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by czuroski
        
        
        
        Published on 2010-04-20T13:59:12Z
        Indexed on 
            2010/04/20
            14:03 UTC
        
        
        Read the original article
        Hit count: 245
        
asp.net-mvc
Hello, I've built an mvc application which contains some jquery code. When I run the app from my ide, everything works perfectly. When I publish to the server and open the page, the jquery does not work. I get object expected errors.
Could this be due to my file mappings? here is a sample of my mapping in the app -
<script type="text/javascript" href="../../Scripts/jquery-1.3.2.js"></script>  
I published the app to iis7 successfully, but the jquery is broken. I did publish to an application within an existing web site.
Any thoughts?
© Stack Overflow or respective owner