On Feb 15, 9:20 pm, "angelochen...@gmail.com" <angelochen...@gmail.com> wrote: > Hi Rob, > > Thanks for the quick reply, actually state has a id='state', I can > obtain it : > > element = document.getElementById("state"); > > and this element can be either an 'input' or a 'select', is there a > way to determine during runtime? if (element.tagName.toLowerCase() == 'select') { // it's a select } -- Rob
- [jQuery] checking if there is a select in the form... angelochen...@gmail.com
- [jQuery] Re: checking if there is a select in... RobG
- [jQuery] Re: checking if there is a selec... angelochen...@gmail.com
- [jQuery] Re: checking if there is a s... RobG
- [jQuery] Re: checking if there is... Klaus Hartl