Hi, I want to change some contents in javascript but I don't know
exactly how to do that :

here is my example :

<script type="text/javascript" wicket:id="js">
var myvar = 'value';
</script>

I can write the entire content of the javascript like that :
String foo ...
new Label("js","var myvar = '"+foo+"';");


But I don't like that because I only want to change the value of
myvar. Any better idea to do that ?

thanks

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to