Disabled attribute of drop-down list is not working with IPAD

Home Forums Web Development HTML, JavaScript and CSS Disabled attribute of drop-down list is not working with IPAD

This topic contains 0 replies, has 2 voices, and was last updated by  Hirendra Sisodiya 4 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4643

    Pavan
    Moderator

    I have a drop-down-list on my web page and Drop-down have 4 values. I want two values of drop-down disable at the time loading. It working fine with windows browsers but fail in “Ipad” safari browser.

    #4644

    ‘disabled’ attribute does not work on the safari ipad.

    But i have a possible solution however i am not confirm about its correctness but you can try:

    Suppose you have the four option as you mentions in your query and user can able to select only first option rest of all will be disabled.

    in the below example i am not using the disabled attribute. i am just using the .change event of the dropdown.

    [code title=”html”]
    < !DOCTYPE html>







    [/code]

    let me know if it is not working

    thanks

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.