Created
October 18, 2011 18:40
-
-
Save Hafthor/1296269 to your computer and use it in GitHub Desktop.
tapping actual checkbox on checkboxes with multiline labels on Android submits unchecked
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Language="VB" %> | |
<!DOCTYPE html> | |
<html> | |
<head><title></title> | |
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
<link rel="stylesheet" href="http://jquerymobile.com//test/css/themes/default/" /> | |
<script src="http://jquerymobile.com//test/js/jquery.js"></script> | |
<script src="http://jquerymobile.com//test/js/"></script> | |
</head> | |
<body> <div data-role="page"> | |
<div data-role="content"> | |
<form method="POST"> | |
<h1>jquerymobile bug demo</h1> | |
<p>on android, tap the actual checkmark and submit</p> | |
<p>Request.Form("c1")="<%=Request.Form("c1")%>"</p> | |
<p>Request.Form("c2")="<%=Request.Form("c2")%>"</p> | |
<div data-role="fieldcontain"><fieldset data-role="controlgroup"><input type="checkbox" name="c1" id="c1" /><label for="c1">c1: single line works</label></fieldset></div> | |
<div data-role="fieldcontain"><fieldset data-role="controlgroup"><input type="checkbox" name="c2" id="c2" /><label for="c2">c2: note that tapping the checkmark on this multiline checkbox doesn't work.</label></fieldset></div> | |
<input type="submit" name="submit" value="submit"/> | |
</form> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment