Forcing IE to refresh?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Donald F. McLean

    Forcing IE to refresh?

    I'm writing a script that proactively validates data input.

    Under IE, throwing up an alert seems to interfere with the behavior of
    radio buttons. In other words, if changing the value of the radio button
    field fires the validation, the radio button either isn't set or isn't
    displayed correctly after the popup is dismissed.

    If I stick the error messages in a non-editable textarea field, the
    textarea field doesn't get refreshed.

    I tried "focus" - didn't help.

    Mozilla works perfectly of course.

    Donald McLean
    Space Telescope Science Institute
  • Jim Brandley

    #2
    Re: Forcing IE to refresh?

    "Donald F. McLean" <dmclean@stsci. edu> wrote in message news:<c9nb19$20 1$1@tomm.stsci. edu>...[color=blue]
    > I'm writing a script that proactively validates data input.
    >
    > Under IE, throwing up an alert seems to interfere with the behavior of
    > radio buttons. In other words, if changing the value of the radio button
    > field fires the validation, the radio button either isn't set or isn't
    > displayed correctly after the popup is dismissed.
    >
    > If I stick the error messages in a non-editable textarea field, the
    > textarea field doesn't get refreshed.
    >
    > I tried "focus" - didn't help.
    >
    > Mozilla works perfectly of course.
    >
    > Donald McLean
    > Space Telescope Science Institute[/color]

    I have also had trouble with refreshes. I suspect that the thread gets
    busy and loses track of incomplete events. I have (so far) been able
    to get around the problem by setting a timer to do what I really
    wanted to do in-line. So far, 200-250 ms has been sufficient time to
    let IE finish what it had going on the thread and actually perform the
    function it was skipping when directly referenced in my scripts.

    Comment

    Working...