Adding additional js files breaks jQuery IntelliSense

前端 未结 6 1224
名媛妹妹
名媛妹妹 2021-02-04 15:22

I have been using jQuery IntelliSense in VS2008 and it has been great. Recently I added a reference to jQuery UI and since then, the jQuery IntelliSense has went away. I found

6条回答
  •  名媛妹妹
    2021-02-04 15:30

    The accepted answer helped me fix this issue but didn't resolve the problem. I installed the hotfix: http://code.msdn.microsoft.com/KB958502 but was still receiving an error.

    Error:

    Error updating JScript IntelliSense: D:\Dev\Test\Scripts\jQuery-1.3.2-vsdoc.js: 'jQuery.support.htmlSerialize' is null or not an object @ 1430:4
    

    It appears the addition of the follwing file without the appropriate -vsdoc.js file causes the above issue.

    
    

    I added an empty file "jquery-ui-1.7.custom.min-vsdoc.js" to my scripts folder and the Jscript Intellisense issue went away.

提交回复
热议问题