Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Dec 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Does SaveAs Dialog Box return a value?

    Does the exexCommand SaveAs Dialog return a boolean value?

    If so, I am trying to create a JS code that says:

    if the SaveAs Dialog returns a value (i.e the person has saved the document) I want the person to be redirected toa thankyou.html page

    if the SaveAs Dialog returns false (i.e the person clicked cancel) I want the person to remain on the page that they clicked the link from.

  • #2
    Regular Coder feras_wilson's Avatar
    Join Date
    Jul 2005
    Location
    Sweden
    Posts
    129
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question this

    its not exexCommand its execCommand

  • #3
    Regular Coder 2reikis's Avatar
    Join Date
    Nov 2005
    Location
    New Mexico, USA
    Posts
    174
    Thanks
    18
    Thanked 13 Times in 13 Posts
    Try this link. It shows that execCommand does return a boolean if the command is successful

    http://www.devarticles.com/c/a/HTML/...itor-Part-1/1/


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •