javascript - How can I make a popup form? -
i want password protect page doing using ldap bind authentication. whole process , script fine. have form submits script , script checks whether user has authentication or not, if don't kicks them out.
what trying here this. http://jsfiddle.net/s5jyr/ form have there, make popup login instead user goes url of site blank page popup screen asking login. how can make popup? if user clicks cancel should display error. access denied. or if user inputs wrong login credentials display same error message. error messages don't need popup, can displayed on different blank page. forms have looked around google have popup button isn't want..
i trying make this:
in javascript can opening new window window.open() method, opening url form , capturing information outside. might fail in platforms not supporting it.
another method can showing form in floating box, still javascript dependant.
maybe want http login form, not javascript ask for. though have handle server-side.
take @ http authentication php learn this.
...assuming have php server side scripting, if not, still reference can not-so-differently implement in other languages.
Comments
Post a Comment