2010-08-18から1日間の記事一覧

mechanize:Mechanize::Page#labels

以下のような HTML で <html> <head> <title>label test</title> </head> <body> <form method="post" action="cgi/test_form00.cgi" name="form1"> <input type="radio" name="radio1" id="r1" value="male" checked="checked"><label for="r1">Male</label> <input type="radio" name="radio1" id="r2" value="female"></form></body></html>