asfunction call in html onload does not work

i usually call the function with

<A HREF="asfunction:_tool.doPopup,text">link</A>

but when i want to

<IMG SRC="image.png" onload="asfunction:_tool.doPopup,text"  WIDTH="1" HEIGHT="1">

nothing happens

Is there any other way to run a script from html without href?

thank you in advance


Source: html

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.