| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|---|
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
|---|
| 4 | <head> |
|---|
| 5 | <title>XHTML 1.1 Strict Template</title> |
|---|
| 6 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> |
|---|
| 7 | <meta http-equiv="Pragma" content="no-cache" /> |
|---|
| 8 | <meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate, post-check=0, pre-check=0" /> |
|---|
| 9 | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> |
|---|
| 10 | <!-- <script type="text/javascript" src="jquery.js"></script> --> |
|---|
| 11 | <script type="text/javascript"> |
|---|
| 12 | $(function() { |
|---|
| 13 | var a = [$('form[action="account/edit"]').size(), |
|---|
| 14 | $('form[action="account/edit"]').attr('action'), |
|---|
| 15 | $('form[action="http://example.org/account/edit"]').size(), |
|---|
| 16 | $('form[action="http://example.org/account/edit"]').attr('action')] |
|---|
| 17 | |
|---|
| 18 | $('p').text('results: '+a); |
|---|
| 19 | }); |
|---|
| 20 | </script> |
|---|
| 21 | </head> |
|---|
| 22 | <body> |
|---|
| 23 | <p>Hello, World!</p> |
|---|
| 24 | <form action="account/edit"><input type="submit" /></form> |
|---|
| 25 | </body> |
|---|
| 26 | </html> |
|---|