Bug Tracker

Ticket #2076: index.html

File index.html, 511 bytes (added by apaella@…, 9 months ago)

a live example

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3    <head>
4        <script type="text/javascript"  src="http://code.jquery.com/jquery-1.2.2b.js" ></script>
5        <script type="text/javascript">
6                console.log($('#foo'));
7                console.log($('#foo').val());
8                console.log($.trim($('#foo').val()));
9        </script>       
10    </head>
11    <body>
12        <input id="foo" type="input" size="20" />
13       
14    </body>
15</html>