call custom function in url

call custom function in url

Been looking for hours now and didn't find any answer...

The problem is:

- i created a custom function for myself (let's call it fCustom in a myNSpace namespace)
- and, for the sake of an example, let's say my app is called myApp

so, to call (invoke) the function, all i need to do in html view is post this code:
thisapp.myNSpace.fCustom(params);
ok, i get all of this... and now the tricky part:
is there a way to call this function from a link?

i mean, i have a custom html view and i cannot add function buttons like in list view... which i need

so the question is: is there a way to code the custom function in URLs?

i would imagine it to be something like:
<a href="OpenURL(thisapp.myNSpace.fCustom(params))>Link name</a>