Correct javascript code.
This commit is contained in:
parent
e8d592520f
commit
400e4b916f
|
@ -48,7 +48,7 @@
|
||||||
(p ,(number->string (+ (get-number1) (get-number2))))
|
(p ,(number->string (+ (get-number1) (get-number2))))
|
||||||
(hr)
|
(hr)
|
||||||
(a (@ (href "add.scm")) "New calculation (new session)")(br)
|
(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")))))))
|
(a (@ (href ,new-url)) "Close this session")))))))
|
||||||
;; How to clear session data and go to another HTML page:
|
;; How to clear session data and go to another HTML page:
|
||||||
(send/finish
|
(send/finish
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
<P>
|
<P>
|
||||||
<HR>
|
<HR>
|
||||||
<A href=\"add-html.scm\">New calculation (new session)</A><BR>
|
<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>
|
<A href=~s>Close this session</A>
|
||||||
</BODY>
|
</BODY>
|
||||||
</HTML>"
|
</HTML>"
|
||||||
|
|
Loading…
Reference in New Issue