Side navigation
Ticket #2076: index.html
File index.html, 0.5 KB (added by apaella@gmail.com, December 18, 2007 01:50PM UTC)
a live example
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.2.2b.js" ></script>
<script type="text/javascript">
console.log($('#foo'));
console.log($('#foo').val());
console.log($.trim($('#foo').val()));
</script>
</head>
<body>
<input id="foo" type="input" size="20" />
</body>
</html>
Download in other formats:
Original Format
File index.html, 0.5 KB (added by apaella@gmail.com, December 18, 2007 01:50PM UTC)
a live example
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.2.2b.js" ></script>
<script type="text/javascript">
console.log($('#foo'));
console.log($('#foo').val());
console.log($.trim($('#foo').val()));
</script>
</head>
<body>
<input id="foo" type="input" size="20" />
</body>
</html>