av_domain
04-16-2007, 04:32 AM
Hi ,
The following code is not displaying the javascript alert hello though it displays it in the debug console. Could anyone tell me why ? Also , I need examples to retrieve the data from a form and validate through regular expressions ..
Please help....
Thanks ,
Aravind
-----------------------------------------------------------------------------------------------------------------------
<canvas debug="true">
<debug />
<edittext x="40" text="hello" id="captchaText" ></edittext>
<node id="myNode">
<method name="myMethod">
Debug.write('Nice day if it do not rain');
Debug.write(captchaText.text);
LzBrowser.loadJS('alert(captchaText.text)');
</method>
</node>
<script>
myNode.myMethod()
</script>
</canvas>
The following code is not displaying the javascript alert hello though it displays it in the debug console. Could anyone tell me why ? Also , I need examples to retrieve the data from a form and validate through regular expressions ..
Please help....
Thanks ,
Aravind
-----------------------------------------------------------------------------------------------------------------------
<canvas debug="true">
<debug />
<edittext x="40" text="hello" id="captchaText" ></edittext>
<node id="myNode">
<method name="myMethod">
Debug.write('Nice day if it do not rain');
Debug.write(captchaText.text);
LzBrowser.loadJS('alert(captchaText.text)');
</method>
</node>
<script>
myNode.myMethod()
</script>
</canvas>