Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    isc.say problem

    hello,
    I'm validating one login screen.
    the idea is one message telling everything's ok, and then redirect to the login page,
    I'm using the following code:
    isc.say("OK",window.location.href('login.php'),{showHeader:false, width: 200})

    everything's ok, except the message appears and then redirect to the page login.php. I need to wait the user to press OK button of the message.
    actually the page is redirecting without wait for the user action.
    what am I doing wrong?
    regards,

    #2
    Add quotes around the part that says "window.location...". Otherwise, it happens immediately (as you've observed), in fact, before isc.say() is even called.

    Comment

    Working...
    X