Problem with javascript and IE

Discussion in 'JavaScript' started by truesdk, Apr 26, 2007.

  1. #1
    Right now i am designing a page where i have 4 checkboxes and a submit button.

    if no checkboxes are selected, the submit button is disabled

    if atleast one checkbox is checked the submit button is enabled

    also, if the user checks the checkboxes, then unchecks them, a message is displayed. (basically telling them atlease one muct be checked)

    So this works perfectly in firefox, but i found out in Internet explorer, it has problems.

    This is the problem. I can check the checkbox, and it runs my function, but it does not update the submit button right away. But if i click somewhere else on the page, The changes will show.

    firefox does it in realtime, and internet explorer waits until the user clicks somwehere else. is there any way to get internet explorer to show the changes right away? (without a full page refresh)
     
    truesdk, Apr 26, 2007 IP
  2. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Maybe using the function focus() for your submit button.
     
    ajsa52, Apr 26, 2007 IP
  3. solution2u

    solution2u Peon

    Messages:
    252
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Can you upload the page? Cheers
     
    solution2u, Apr 27, 2007 IP