Added reset, submit, button, and file input types to test_pr sample.
git-svn-id: svn://10.0.0.236/trunk@20427 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -26,7 +26,7 @@ BUTTON {
|
||||
<H1>Example 8: Forms</H1>
|
||||
|
||||
<FORM METHOD="GET" ACTION="http://search.yahoo.com/bin/search" NAME="searchform">
|
||||
<label><input type=checkbox style="width:11px; height:11px; border-color:gray; border-width:2; border-style:inset; color:green;" name=check1 checked>checkbox</label>
|
||||
<label><input type=checkbox name=check1 checked>checkbox</label>
|
||||
<label><input type=radio name=radio1 checked>radiobox</label>
|
||||
</FORM>
|
||||
<BR>
|
||||
@@ -34,21 +34,21 @@ BUTTON {
|
||||
<BR>
|
||||
<FORM METHOD="GET" ACTION="http://search.yahoo.com/bin/search" NAME="searchform">
|
||||
Text Input:
|
||||
<INPUT type=text value=travel NAME="p" SIZE=15 MAXLENGTH=80 style="border: 2px inset #C0C0C0;margin-right:10px; background-color: rgb(255, 255, 255);">
|
||||
<INPUT type=text value=travel NAME="p" SIZE=15 MAXLENGTH=80>
|
||||
<BR>
|
||||
 
|
||||
<BR>
|
||||
TextArea:
|
||||
<textarea name=a rows=4 cols=10 value="Line One" style="border: 2px inset #C0C0C0;">01234567890123456789</textarea>
|
||||
<textarea name=a rows=4 cols=10 value="Line One">01234567890123456789</textarea>
|
||||
<BR>
|
||||
 
|
||||
<BR>
|
||||
Password:<INPUT TYPE="PASSWORD" value="1234" style="border: 2px inset #C0C0C0;">
|
||||
Password:<INPUT TYPE="PASSWORD" value="1234">
|
||||
<BR>
|
||||
 
|
||||
<BR>
|
||||
List:
|
||||
<select name=select2 id=select1 size=4 multiple style="border: 1px inset #C0C0C0;">
|
||||
<select name=select2 id=select1 size=4 multiple>
|
||||
<option selected>option 1</option>
|
||||
<option>option 2</option>
|
||||
<option selected>option 3</option>
|
||||
@@ -60,7 +60,7 @@ List:
|
||||
 
|
||||
<BR>
|
||||
No Scrollbar:
|
||||
<select name=select1 size=2 style="border: 1px inset #C0C0C0;">
|
||||
<select name=select1 size=2>
|
||||
<option selected>option 1</option>
|
||||
<option>option 2</option>
|
||||
</select>
|
||||
@@ -69,14 +69,16 @@ No Scrollbar:
|
||||
 
|
||||
<BR>
|
||||
ComboBox:
|
||||
<select name=select3 size=1 style="border: 1px inset #C0C0C0;">
|
||||
<select name=select3 size=1>
|
||||
<option selected>option 1</option>
|
||||
<option>option 2</option>
|
||||
</select>
|
||||
<BR>
|
||||
 
|
||||
<BR>
|
||||
<INPUT type=submit value="Go" style="border: 4px outset #C0C0C0;color:black;background-color: rgb(192, 192, 192);">
|
||||
<INPUT type=submit value="submit">
|
||||
<INPUT type=reset value="reset">
|
||||
<INPUT type=button value="button">
|
||||
|
||||
</FORM>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user