I have a element of type dropdown I would like to disable in an InfoPath form based on a user's group membership. When I use the below code it works in FF but not in IE 10.


Thanks in advance

  • Why don't you use the regular InfoPath way to disable the control? Why would you want to use jQuery in the first place?
    – teylyn
    Jan 11, 2014 at 4:40
  • sorry didn't elaborate. Can InfoPath disable based on username or groups? Cheers
    – naijacoder
    Jan 11, 2014 at 5:04
  • Yes it can. Why don't you post the real question.
    – teylyn
    Jan 11, 2014 at 7:26
  • Thanks teylyn. I came across this : info.akgroup.com/blog-0/bid/69277/…
    – naijacoder
    Jan 12, 2014 at 1:14
  • Can you please update your question to state the real issue. It looks like you want to hide parts of the form based on a user's group membership. So ask that.
    – teylyn
    Jan 12, 2014 at 2:06

1 Answer 1


Use jQuery(selector).attr("disabled","disabled") and jQuery(selector).removeAttr("disabled"), then it will work in IE as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.