Side navigation
Ticket #3843: testTimestamp.html
File testTimestamp.html, 0.7 KB (added by julienw, January 14, 2009 10:53AM UTC)
testcase of different timeStamps for the same event
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js"></script>
<script type="text/javascript">
<!--
function init() {
$("#submit-button").bind("click", function(e) {
$("#messages").append("<p>timestamp is " + e.timeStamp + "</p>");
return false;
});
}
$(init);
// -->
</script>
</head>
<body>
<input type='submit' id='submit-button' value='click me or push enter !'/>
<div id='messages'>
<h4>Messages</h1>
</div>
</body>
</html>
Download in other formats:
Original Format
File testTimestamp.html, 0.7 KB (added by julienw, January 14, 2009 10:53AM UTC)
testcase of different timeStamps for the same event
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js"></script>
<script type="text/javascript">
<!--
function init() {
$("#submit-button").bind("click", function(e) {
$("#messages").append("<p>timestamp is " + e.timeStamp + "</p>");
return false;
});
}
$(init);
// -->
</script>
</head>
<body>
<input type='submit' id='submit-button' value='click me or push enter !'/>
<div id='messages'>
<h4>Messages</h1>
</div>
</body>
</html>