Monthly Archives: October 2011

jQuery and JavaScript for Debugging

Here are a few of the JavaScript and jQuery methods which I find useful when debugging my projects. JSON.stringify() can be used to inspect objects To inspect the value of element attributes like class or id, use .attr() e.g. $(‘#myelementid’).attr(‘class’) … Continue reading

Posted in JavaScript | Leave a comment