Side navigation
Ticket #2662: action.html
File action.html, 1.1 KB (added by vytautas, June 04, 2008 12:54PM UTC)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>XHTML 1.1 Strict Template</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate, post-check=0, pre-check=0" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<!-- <script type="text/javascript" src="jquery.js"></script> -->
<script type="text/javascript">
$(function() {
var a = [$('form[action="account/edit"]').size(),
$('form[action="account/edit"]').attr('action'),
$('form[action="http://example.org/account/edit"]').size(),
$('form[action="http://example.org/account/edit"]').attr('action')]
$('p').text('results: '+a);
});
</script>
</head>
<body>
<p>Hello, World!</p>
<form action="account/edit"><input type="submit" /></form>
</body>
</html>
Download in other formats:
Original Format
File action.html, 1.1 KB (added by vytautas, June 04, 2008 12:54PM UTC)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>XHTML 1.1 Strict Template</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate, post-check=0, pre-check=0" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<!-- <script type="text/javascript" src="jquery.js"></script> -->
<script type="text/javascript">
$(function() {
var a = [$('form[action="account/edit"]').size(),
$('form[action="account/edit"]').attr('action'),
$('form[action="http://example.org/account/edit"]').size(),
$('form[action="http://example.org/account/edit"]').attr('action')]
$('p').text('results: '+a);
});
</script>
</head>
<body>
<p>Hello, World!</p>
<form action="account/edit"><input type="submit" /></form>
</body>
</html>