Can you show your method code?
You should be able to say:
<script src="md5.js" when="immediate" />
<button>
<handler name="onclick">
var hash = hex_hmac_md5("bar", "foo");
Debug.debug("md5 :", hash);
</handler>
Click me!
</button>
On 2010-02-04, at 10:42, cem sonmez wrote:
> hi all
> i can use the "md5.js" javascript file in the lzx such like :
>
> <script src="md5.js" when="immediate" />
> <script>
> var hash = hex_hmac_md5("bar", "foo");
> Debug.debug("md5 :", hash);
> </script>
>
> But i want call this function when any button is clicked.
> When i use the lines in the method tag, getting compiler error about canT
> find the related function.
> Can anyone help me about this issue ?
>
> King regards
> --
> Cem SONMEZ