www.webdeveloper.com
Results 1 to 3 of 3

Thread: Problem with form - Want it to react on html form instead of popup window

  1. #1
    Join Date
    Nov 2012
    Posts
    2

    Problem with form - Want it to react on html form instead of popup window

    Using this script: http://www.javascriptsource.com/pass...d-protect.html

    It opens in a popup where the input is done.
    I want to have this in actual forms instead (input field + submit button)

    Anyone that can help?

    Thank you !

    Pontus

  2. #2
    Join Date
    Mar 2011
    Posts
    1,135
    The script you reference doesn't open a pop-up. Perhaps your <form> tag has a 'target' attribute set to "_blank" or your browser is set to open new windows or tabs.

    Keep in mind that JavaScript is not secure and this script is easily defeated. If you have content that you need to protect, you need to add the protection on the server either through a script or with an .htaccess file. Good luck!
    Rick Trethewey
    Rainbo Design

  3. #3
    Join Date
    Nov 2012
    Posts
    2
    Quote Originally Posted by rtrethewey View Post
    The script you reference doesn't open a pop-up. Perhaps your <form> tag has a 'target' attribute set to "_blank" or your browser is set to open new windows or tabs.

    Keep in mind that JavaScript is not secure and this script is easily defeated. If you have content that you need to protect, you need to add the protection on the server either through a script or with an .htaccess file. Good luck!
    Thanks for your reply!

    This is not so extremely protect-needed content so javascript will work just fine enough.

    So it is not in a popup?
    I cant read out any form or dont know how to attach a form to it, I'm kinda new to this javascript.

    Thank you so much for helping!

    /Pontus

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles