If you try $("#mycontrolid").attr('type'), you should find the type of
INPUT tag you have.

On Dec 8, 9:05 pm, JQueryProgrammer <[EMAIL PROTECTED]> wrote:
> How can I check what is the type of control. eg.
>
> In javascript document.getElementById("mycontrolid").type will return
> select-one, textbox, checkbox, radio etc.
>
> How can I find it in jQuery. I tried as
>
> $("#mycontrolid").constructor but it returns as Object in all cases.

Reply via email to