Warning: Parameter 3 to processSchemeCodeTag() expected to be a reference, value given in /Users/gambit/Sites/wiki/includes/parser/Parser.php on line 3333
Script:Graphics:html-example2.scm - Gambit wiki

Script:Graphics:html-example2.scm

From Gambit wiki

(Difference between revisions)
Jump to: navigation, search
(Script:Graphics:html-example2.scm)
(Script:Graphics:html-example2.scm)
 
Line 1: Line 1:
-
<schemecode>;; Graphics:html-example2.scm
+
<schemecode>;;; Graphics:html-example2.scm
 +
 
 +
;; Graphics:html-example2.scm
;;
;;
;; Author: Marc Feeley <feeley@iro.umontreal.ca>
;; Author: Marc Feeley <feeley@iro.umontreal.ca>
Line 8: Line 10:
<h1>Please enter some text</h1>
<h1>Please enter some text</h1>
-
<form onSubmit="window.location = 'event:Done:'+encodeURIComponent(document.getElementById('foo').value)+':'; return false;">
+
<form onSubmit="window.location = encodeURI('event:Done:'+encodeURIComponent(document.getElementById('foo').value)+':'); return false;">
<input type="text" id="foo" value="Some text" />
<input type="text" id="foo" value="Some text" />
<br/>
<br/>

Latest revision as of 23:01, 22 December 2014

Personal tools
documentation