~testplan-team/testplan/source-collection

« back to all changes in this revision

Viewing changes to htmlunit-2.4/src/test/resources/applets/simpleAppletDoIt.html

  • Committer: edA-qa mort-ora-y
  • Date: 2010-04-07 10:54:57 UTC
  • Revision ID: eda-qa@disemia.com-20100407105457-g46bvbsrjqtjujab
updating hmltunit src

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html>
2
 
<head>
3
 
<title>simple applet test</title>
4
 
</head>
5
 
<body>
6
 
A simple applet (without display) with a method called doIt(String message) that shows "Called: doIt(#message#)" in the status bar of the window.
7
 
 <applet id='myApplet'
8
 
   archive='simpleAppletDoIt.jar'
9
 
   code='net.sourceforge.htmlunit.testapplets.AppletDoIt'
10
 
   width='50' height='50'>
11
 
 Your browser does not support the applet tag.
12
 
</applet>
13
 
 
14
 
<button onclick="document.applets[0].doIt('hello')" id="button1">call applet's doIt('hello')</button>
15
 
<button onclick="document.applets[0].doIt(12345)" id="button2">call applet's doIt(12345)</button>
16
 
</body></html>