Using selector

Using selector

I am trying to get all of the form elements.  I am successful with this:
  1. $("input, select").each(function(){

I am worried that if I add another form though, that this will pull those fields from that form as well.  I tried adding "#form" and "form" to the front (of each), as well as putting ":" in front of input/select, but it only pulls the input fields then.