I find myself writing more and more Javascript in Visual Studio and floundering around with stupid errors as the code base gets large due to the lack of static type checking and Intellisense.
e.g.
$("#JobVacanciesApplicationEmail").prop("disabled" = false);
should have been
$("#JobVacanciesApplicationEmail").prop("disabled", false);
but happened because I was chopping and changing with this alternative:
//document.getElementById("JobVacanciesApplicationEmail").disabled = false;
I'm only human and I make mistakes, especially after a long day. I use alert boxes to make sure stuff fires, which narrows the problem.
How can I be as productive in Javascript as I am in C#? Is there stuff built into Visual Studio I can activate? What tools are there to help?
Thanks