Advanced Search

Results 1 to 2 of 2

Thread: Where to Open the Action URL

  1. #1
    Join Date
    Nov 2009
    Posts
    177
    Thanks
    31
    Thanked 0 Times in 0 Posts

    Default Where to Open the Action URL

    Hi,

    Please look at the following reference:
    http://www.w3schools.com/tags/att_form_target.asp

    If the target attribute of <form> is deprecated, what's the right way to do it?


    Thanks in advance!
    Regards
    Rain Lover

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,623
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    do what?

    if you're asking about forcing the form results to open in a new window, you shouldn't. It's generally frowned upon to try and force that kind of control (ignoring/ overruling user preference), and many newer browsers ignore it anyway.

    If you really want to, you could use javascript to intercept the form submission and try to open it in a new window (though, as I mentioned, some browsers/ popup blockers will prevent this anyway).
    We Only Torture the Folks We Don't Like (You're Probably Gonna Be Okay)
    It's a Party in the CIA

Bookmarks

Posting Permissions

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