Find if a textbox is disabled or not using jquery

后端 未结 5 1589
情书的邮戳
情书的邮戳 2020-12-23 14:06

I need to find if a textbox is disabled or enabled using Jquery.

5条回答
  •  梦毁少年i
    2020-12-23 14:43

    You can check if a element is disabled or not with this:

    if($("#slcCausaRechazo").prop('disabled') == false)
    {
    //your code to realice 
    }
    

提交回复
热议问题