[jQuery] form ID is messed up if an element in the form is named "id"
<form id="form_id" class="form_class">
<input type="text" name="id" class="text_class" id="text_id"
value="my name is ID" />
</form>
$('form');
I expect would get form#form_id.form_class
but this is the result: form#[object HTMLInputElement].form_class
I'm using the firebug (firefox) console, and the object referenced
above links to the input class
Because of this, I can't name an element "id", and also be able to
select a form by ID using $("form[@id=form_id]");
There are many workarounds, but doesn't this functionality seems to be
a bug?