I was wondering if I could combine a call to a Servoy form function and a Javascript client function in 1 link:
(Following code goes into a HTML_AREA)
This code makes a link to a javascript function in the clients browser.
- Code: Select all
<table>
<tr><td><a href=\"javascript:doClientFunction('-1')\"></td></tr>
</table>
This code makes a link to a servoy form function.
- Code: Select all
<html><body>
<table>
<tr><td><a href=\"javascript:doServoyFunction('-1')\"></td></tr>
</table>
</body></html>
I'd need to combine both in one link (Is this possible?):
- Code: Select all
<a href=\"doClientFunction();javascript:doServoyFunction('-1'); \">
I need this to show a loading text in the browser (client javascript call) and after that go to the servoy function.