Side navigation
Ticket #4733: test-4733.html
File test-4733.html, 0.4 KB (added by dmethvin, December 17, 2009 04:43AM UTC)
$.makeArray(formelement)
<html>
<head>
<title>test</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4a1.js"></script>
<script type="text/javascript">
$(function(){
var a = $.makeArray($("form")[0]);
alert(a.length);
});
</script>
</head>
<body>
<form>
<input type="text" name="test1" value="arf1" />
<input type="text" name="test2" value="arf2" />
<input type="text" name="test3" value="arf3" />
</form>
</body>
</html>
Download in other formats:
Original Format
File test-4733.html, 0.4 KB (added by dmethvin, December 17, 2009 04:43AM UTC)
$.makeArray(formelement)
<html>
<head>
<title>test</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4a1.js"></script>
<script type="text/javascript">
$(function(){
var a = $.makeArray($("form")[0]);
alert(a.length);
});
</script>
</head>
<body>
<form>
<input type="text" name="test1" value="arf1" />
<input type="text" name="test2" value="arf2" />
<input type="text" name="test3" value="arf3" />
</form>
</body>
</html>