I do a lot of my work from Chrome’s developer tools console and firebug console in Firefox. In both cases when I run document.forms or $('form') with jQuery enabled, it doesn’t return all the forms on the page. Why is this? How can I get it to return all forms on the page?
Example page:
http://www.newcartestdrive.com/ (doesn’t include “Select A Make/Model” form)
document.formswill contain all forms declared inside the current document. Any forms included in an iframe will not be part of the document, but will be part of that iFrame’s document.