Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
HTML
Submitting forms by clicking on text-based tabs as opposed to SUBMIT button
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Jonathan N. Little" data-source="post: 2020212"><p>Simple in my example above whatever your receiving script is at </p><p>/CaseRecord, normally you would call a discrete filename like:</p><p>"/CaseRecord/getfile.php", your /CaseRecord/?... works on a default </p><p>index.php, index.cgi, index.asp etc.</p><p></p><p>Notice that the submit buttons are named. Naming them means when click </p><p>the name=value part will be parsed. In this case page=Surgical#, so </p><p>simply fork on the page value will determine which submit button was </p><p>press and hence which page page you are on...</p><p></p><p></p><p></p><p>Style them whatever way you want. The advantage of NOT coding in the </p><p>1996-way</p><p></p><p>Actually it will, much better than any JavaScript method you could </p><p>cook-up because it submits at form as it was supposed to be done, with a </p><p>submit button!</p></blockquote><p></p>
[QUOTE="Jonathan N. Little, post: 2020212"] Simple in my example above whatever your receiving script is at /CaseRecord, normally you would call a discrete filename like: "/CaseRecord/getfile.php", your /CaseRecord/?... works on a default index.php, index.cgi, index.asp etc. Notice that the submit buttons are named. Naming them means when click the name=value part will be parsed. In this case page=Surgical#, so simply fork on the page value will determine which submit button was press and hence which page page you are on... Style them whatever way you want. The advantage of NOT coding in the 1996-way Actually it will, much better than any JavaScript method you could cook-up because it submits at form as it was supposed to be done, with a submit button! [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
HTML
Submitting forms by clicking on text-based tabs as opposed to SUBMIT button
Top