Using Visual Studio Intellisense for building jQuery selector strings
- by jslatts
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?