So I use JavaScript fairly regularly and I was wondering if there were any good tips or tricks in debugging javascript....Like for example I have a good one I use fairly regularly.
In my code i would do something like this
window.p = $(this);
and in the console I can do my filtering like this
window.p.next("li").find("a").val();
or whatever i need to do...but this makes it easy to debug a specific spot in the code and I know there has got to me many tips and tricks out there....thanks in advance
Also i looked at this question and though its helpful i was looking more for techniques like my above ...