Using Visual Studio Intellisense for building jQuery selector strings
Posted
by jslatts
on Stack Overflow
See other posts from Stack Overflow
or by jslatts
Published on 2010-05-11T18:19:58Z
Indexed on
2010/05/11
18:24 UTC
Read the original article
Hit count: 321
This is a minor issue, but one I find myself running into:
When I am using jQuery in Visual Studio 2010, I find myself frequently typing:
$(#S
using Intellisense to find the SomeID object ID:
$(#SomeID).click( function() { etc.. })
then going back and adding quotes:
$('#SomeID').click( function() { etc.. })
I find it annoying that if I add the quote first, Visual Studio goes into string mode and I lose Intellisense for finding the object's ID or class.
Am I doing it wrong?
© Stack Overflow or respective owner