i got a got a little embedded system that can be controlled via a webinterface.
the page looks like:
...
<a href="javascript:foo(bar)">foo</a>
...
is there a way to call this function just by http? like
http://<the-devices-ip>:80/javascipt:foo(bar) //wrong
thank you
<a href="javascript:foo(bar)">foo</a>represents the calling of a function, not the call to a url. There is no direct mapping between a url and a JavaScript function.