<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi There
<p>&nbsp;You need to define TB_BUT_?_JSACTION with something like this
:
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PARAM NAME="TB_BUT_pquery_INPUT"
VALUE="auto_rect">
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PARAM NAME="TB_BUT_pquery_NAME\"
VALUE="CMD">
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PARAM NAME="TB_BUT_pquery_VALUE"
VALUE="QUERY_POINT">
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>&lt;PARAM NAME="TB_BUT_pquery_JSACTION"
VALUE="TestFunc('aaa')"></b>
<p>You need a Javascript function called TestFunc defined something like
<br>function TestFunct(value)
<br>{
<br>&nbsp; window.alert(value);
<br>}
<p>When the action is done using the button, instead of submitting the
page, the javascript function will be called.
<br>Hope it hepls,
<p>Later,
<p>Guillaume Sueur wrote:
<blockquote TYPE=CITE>Hi there,
<br>Reading rosa applet documentation, I saw that it was possible to call
a
<br>javascript function from a rosa applet button using the JSACTION parameter.
<br>But I haven't able to use it properly yet. Could someone give me a
hint ?
<br>Thanks
<p>--------------------------------------------------------
<br>Guillaume SUEUR
<br>Ing&eacute;nieur d&eacute;veloppement SIG
<br>G&eacute;osignal
<br>25bis av Marcel Dassault
<br>BP 5836
<br>31505 TOULOUSE CEDEX 5
<br>T&eacute;l : 05 61 17 47 17
<br>--------------------------------------------------------</blockquote>

<p>--
<br>----------------------------------------------------------------
<br>Assefa Yewondwossen
<br>Software Analyst
<p>Email: assefa@dmsolutions.ca
<br><A HREF="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</A>
<p>Phone: (613) 565-5056 (ext 14)
<br>Fax:&nbsp;&nbsp; (613) 565-0925
<br>----------------------------------------------------------------
<br>&nbsp;</html>