Correct javascript code.
This commit is contained in:
parent
e8d592520f
commit
400e4b916f
|
@ -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
|
||||
|
|
|
@ -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>"
|
||||
|
|
Loading…
Reference in New Issue