Write a program to pass variable to server-side scripts? - WAP

Write a program to pass variable to server-side scripts?



- The server side scripts consist of CGI scripts and ASP scripts that allow the WML to insert the information in between the tags.

- The tags are used to input the information like person’s name, class, address, etc using the <input> tag.

- The name of the variable is used having the <select> container that provides the user to choose to send the input to the script or not.

<input title="Name:" maxlength="50" name="sendto" emptyok="false"/>
<select multiple="false">
<option title="OK"
onpick="http://www.xyz.com/sendto.cgi?to=$(sendto)">Yes</option>
<option title="Cancel" onpick="#Home">No</option>
</select>
Post your comment