## Form Test

Text: |
<input type="text" value="" name="t1"> |
<input type="text" value="" > |
<input type="text" value="" name="name"> |
<input type="text" value="" name="$a_dollar"> |
<input type="text" value="" disabled="true" name="textdisabled"> |
<input type="text" value="" readonly name="textreadonly"> |

TextArea:
<textarea value="" name="ta1"></textarea>
<textarea value=""></textarea>

Checkbox :

    <input type="checkbox" value="cv1" name="c1">
    <input type="checkbox" value="cv2">
    <input type="checkbox" value="cv3" name="c1">
    <input type="checkbox" value="cv4">

Radio :
<input type="radio" value="rv1" name="r1"><input type="radio" value="rv2" name="r1">

Password:
<input type="password" value="" name="p1">
<input type="password" value="" >

Select:

    <select name="s1" id="s1Id" onchange="a(event)">
    <option value="o1">o1
    <option value="o2">o2
    <option value="o3">o3
    </select>

    <select id="s1Id">
    <option value="o1">o1
    <option value="o2">o2
    <option value="o3">o3
    </select>

    <select>
    <option value="o1">o1
    <option value="o2">o2
    <option value="o3">o3
    </select>

    <select multiple="multiple" onchange="a(event)">
    <option value="o1">o1
    <option value="o2">o2
    <option value="o3">o3
    </select>

Button:
<input type="button" name="btnName" value="button value" id="btnId">
<input type="button" name="btnName" id="btnId">
<input type="button" id="btnId">
<input type="button">

Reset Button:
Test:
<input type="reset" name="resetName" id="resetId" value="Reset Me">
<input type="reset" name="resetName">
<input type="reset" id="resetId1">
<input type="reset">

Button:
<button type="button" name="buttonName" id="buttonId">Button One</button>
<button type="submit" name="buttonName">Button Two</button>
<button type="reset" id="buttonId">Button Three</button>

Submit:
<input type="submit" value="Add" id="submitBtnId" name="submitBtnName">
<input type="submit" id="submitBtnId" name="submitBtnName">
<input type="submit" id="submitBtnId">
<input type="submit">

Image:
<img src="add.gif" alt="imageAlt1" id="imageId1" onclick="dummy()"></img>
<img src="add.gif" id="imageId1" onclick="dummy()"></img>
<img src="add.gif" onclick="dummy()"></img>

Search:
<input style="width: 210px;" name="q" type="text" id="q" value="" maxlength="255" />
<input class="button" type="image" src="add.gif" name="qs" border="0" value="Search" alt="Search" />
<input class="button" type="image" src="add.gif" name="qs" border="0" value="Search" />
<img src="add.gif" alt="imgaa" border="0" value="Search" onclick="alert('111')"/>
| | |
Back