Change Checkbox

From UBot Studio
Revision as of 16:42, 7 December 2012 by LillyT (Talk | contribs)

Jump to: navigation, search

This command is part of the Browser Command. This command checks and uncheck a checkbox on a webpage. The command appears by clicking and dragging a checkbox into the scripting area.

Example


load html("<!DOCTYPE html>
<html>
<body>

<form action=\"\">
<input type=\"checkbox\" name=\"vehicle\" value=\"Bike\">I have a bike<br>
<input type=\"checkbox\" name=\"vehicle\" value=\"Car\">I have a car 
</form>

</body>
</html>

")
change checkbox(<value="Bike">, "Checked")

File:Checkbox.png

Two options are presented in the command: Checked and Unchecked

File:Checkbox1.png

Selecting the Checked option checks the checkbox on the page.

File:Checkbox2.png

Selecting the Unchecked option unchecks the checkbox on the page.

load html("<!DOCTYPE html>
<html>
<body>

<form action=\"\">
<input type=\"checkbox\" name=\"vehicle\" value=\"Bike\">I have a bike<br>
<input type=\"checkbox\" name=\"vehicle\" value=\"Car\">I have a car 
</form>

</body>
</html>

")
change checkbox(<value="Bike">, "Unchecked")
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox