Comments on: Problem with jqModal/jQuery JavaScript Intellisense and Workaround https://www.chinhdo.com/20090331/jqmodal-jquery-intellisense/ Chinh's semi-random thoughts on software development, gadgets, and other things. Tue, 24 Nov 2009 23:27:44 +0000 hourly 1 https://wordpress.org/?v=7.0 By: Chinh Do https://www.chinhdo.com/20090331/jqmodal-jquery-intellisense/comment-page-1/#comment-66004 Tue, 24 Nov 2009 23:27:44 +0000 https://www.chinhdo.com/20090331/jqmodal-jquery-intellisense/#comment-66004 In reply to Tim Fischer.

Tim: Thanks for the tip.

]]>
By: Tim Fischer https://www.chinhdo.com/20090331/jqmodal-jquery-intellisense/comment-page-1/#comment-65983 Tue, 24 Nov 2009 21:02:15 +0000 https://www.chinhdo.com/20090331/jqmodal-jquery-intellisense/#comment-65983 Well – the code got stripped, but you get the idea… 🙁

]]>
By: Tim Fischer https://www.chinhdo.com/20090331/jqmodal-jquery-intellisense/comment-page-1/#comment-65982 Tue, 24 Nov 2009 21:01:08 +0000 https://www.chinhdo.com/20090331/jqmodal-jquery-intellisense/#comment-65982 I really needed this debugged and didn’t like the workarounds. So I fixed the code:

change the following line near the end of the function:
i = $(”).css({ opacity: 0 }),

TO:

i = $(”).addClass(‘jqm’).attr(‘src’, “javascript:false;document.write(\’\’);”).css({ opacity: 0 }),

Intellisense will now work as well as jqModal.

Tim

]]>
By: Artem Baybuzskiy https://www.chinhdo.com/20090331/jqmodal-jquery-intellisense/comment-page-1/#comment-64876 Tue, 17 Nov 2009 14:09:18 +0000 https://www.chinhdo.com/20090331/jqmodal-jquery-intellisense/#comment-64876 you can simply use something like:
<script src=”” type=”text/javascript”>

]]>
By: Charles https://www.chinhdo.com/20090331/jqmodal-jquery-intellisense/comment-page-1/#comment-51101 Wed, 05 Aug 2009 13:10:32 +0000 https://www.chinhdo.com/20090331/jqmodal-jquery-intellisense/#comment-51101 I had the same problem but in a MVC project, what I’ve done is that a I created a HtmlHelper extension that renders, something like this:

public static string IncludeJavaScriptFile(this HtmlHelper helper, string fileName)
{
return string.Format(“”, fileName);
}

Then I included my scripts in my masterpage with this, and for intellisense support I added the vsdoc file in my master like this:

And now it works perfectly

]]>