This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
FireRecord/testscript.html
retep998 7c059424de Added a basic scriptapi with a test page.
Signed-off-by: retep998 <retep998@verizon.net>
2013-04-04 12:53:57 -04:00

15 lines
422 B
HTML

<!doctype html>
<html>
<head>
<title>Test</title>
<script type="text/javascript" src="scriptapi.js"></script>
<script type="text/javascript">
</script>
</head>
<body>
<p><a id="foo" onclick="javascript:alert('Success!');">This will be clicked by the script</a></p>
<p><a id="bar" onclick="javascript:script_fire_event(script_find_element('foo'), 'click');">Test the script</a></p>
</body>
</html>