Correct javascript code.

This commit is contained in:
interp 2003-01-19 17:26:56 +00:00
parent e8d592520f
commit 400e4b916f
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
(p ,(number->string (+ (get-number1) (get-number2))))
(hr)
(a (@ (href "add.scm")) "New calculation (new session)")(br)
(a (@ (href "javascript:history.back(2)")) "New calculation (same session)")(br)
(a (@ (href "javascript:history.go(-2)")) "New calculation (same session)")(br)
(a (@ (href ,new-url)) "Close this session")))))))
;; How to clear session data and go to another HTML page:
(send/finish

View File

@ -76,7 +76,7 @@
<P>
<HR>
<A href=\"add-html.scm\">New calculation (new session)</A><BR>
<A href=\"javascript:history.back(2)\">New calculation (same session)</A><BR>
<A href=\"javascript:history.go(-2)\">New calculation (same session)</A><BR>
<A href=~s>Close this session</A>
</BODY>
</HTML>"