You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-user@tcl.apache.org by pongi <po...@pongi.it> on 2004/05/13 12:28:17 UTC
strange behavior with JS
Hi guys!
Did you know if you write:
web::put "<script>document.location.replace(\"[web::command default [list
start [web::param start]]]\");</script>"
returns (on the browser):
<script>document.location.replace("")</script>
I tried with web::put, 3 lines of web::put, web::putx, 3 lines of
web::putx, but everything return that line (btw that line of js makes the
doc reload on a infinite loop).
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-user-help@tcl.apache.org
[ops]: strange behavior with JS
Posted by pongi <po...@pongi.it>.
I'm really sorry, I'm a dumb... I wrote "web::command" instead of
"web::cmdurl"
:-P
-----Original Message-----
From: "pongi" <po...@pongi.it>
To: websh-user@tcl.apache.org
Date: Thu, 13 May 2004 12:28:17 +0200
Subject: strange behavior with JS
> Hi guys!
> Did you know if you write:
>
> web::put "<script>document.location.replace(\"[web::command default
> [list
> start [web::param start]]]\");</script>"
>
> returns (on the browser):
>
> <script>document.location.replace("")</script>
>
> I tried with web::put, 3 lines of web::put, web::putx, 3 lines of
> web::putx, but everything return that line (btw that line of js makes
> the
> doc reload on a infinite loop).
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org
> For additional commands, e-mail: websh-user-help@tcl.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-user-help@tcl.apache.org