Application Development - eWeek

Application Development: eWEEK Labs Walk-Through: Using jQuery in Microsoft Visual Studio 2008


Microsoft Visual Studio now supports jQuery. Or is it the other way around? JavaScript application developers who use jQuery can now have full control over their jQuery code using Visual Studio 2008's latest version of IntelliSense.
 
  • eWEEK Labs Walk-Through: Using jQuery in Microsoft Visual Studio 2008
    by Jeff Cogswell
  • Object Name
    IntelliSense knows you're inside a JavaScript code block and offers suggestions as you type.
  • Understanding 'Document'
    IntelliSense knows that "document" is an available object name. At this point, you can press the period key.
  • Available Members
    After typing the period, IntelliSense lists available members for the object.
  • Full Awareness
    When you add the IntelliSense-annotated version of jQuery, IntelliSense becomes fully aware of the jQuery objects.
  • Return Type Detection
    IntelliSense can detect the return type of the function and display members for that type based on the annotations.
  • Sample Web Page
    Here's the sample Web page that will be debugged. Clicking the button opens the debugger at the breakpoint.
  • At the Breakpoint
    Visual Studio activates with at the breakpoint. Floating the mouse over the $ function reveals its members.
xڽZ[s8~n~[2Ii`ΥCu2Nvm+zw#`sq2T%Gҧ#zCH+0qxChXʱ`Cs Yc6yp 4޴: #ZRh$*fx$bB4y2^Ff~q}4:AXE 62oSǂA dy3r u;05BBDQ Rf\fzȵΘb%r$sC2%1{lCM^9Ę8yb:%0mid91SuN;렳9c/ ƿbstC}9e1FtSQTË2mlu.~ #'@>h ;MiW%M:VeTB?LBs"+ hJyKixIYVMh0͡]"1ADcJxtsG%56Ā"o>q܃1!䲪)ȗm O=2TyF嶛w|kd2Y)nǭ B0]upTuF36TqE'+KT7{H LP1['Tֳ%r{wgǾ<PF<&H} ^V5X iohSMJxĀ1Pa,# Ъ ƆyK$#\$y٩F*0lŔ WQ!?43,%Pw\ 7j ^RAC Jil FӺzڹn甿jgMغi*xdwZ~u$!8Z#t%% %Yؚwꁳ; jSWw/2VM=nor+'٣OؿNa2Sb[:/4 Q{ҪN_oGAKTbbIE O;em  th(" 'fBtPw)A'u%%Nqux 'ֶkV>%r.XcPnl{[O,\O*o\N-[aje~`jR>c еuJV@wA@ }hoq5u=a??:V ߐshQglZgC7ͩxUª};ɌT6fP갫䏞 6\SLy&:l k;5U{$ wY- oX@l~;qU Us+Wo3`QćnLxszG.\\-!0Y8&6TUU'}vo4h5px{U??H]lX.n9aj@&GL&ht GpA jk]05N @Iw[0Qyf4ZHIіr9Bق{tpԪl\HZ6t ȬgV5PDeܡ~Pr$1+ Fј3tdE2H"W7MhS$ l :g&23= Ks<C@\kȁH0񄇠TqJǝ"aZ2m˞1F5H]]N^(;'"àB~"6Xm B.4xM#29uyh{5tw%@9.;0L qVu.\s+:|:}Yk7˛~z wV_NٞyŽ:X}&k`Pxwx/^laB#l^ +O?_߮` =ݓOo\EG`I}oO!,A]ic? >]Ψ_^sL7yt5Aa0,