I thought about it for a while and maybe you could make it call a function with no paramater using workin.onclick and that function that is called will then call another function WITH parameter?
An example:
HTML Code:
<script type="text/javascript">
<!--
document.getElementById('whatever').onclick = "var param='whatever';newfunction();";
function newfunction()
{
return therealfunctionwithaparam(param);
}
function therealfunctionwithaparam(param)
{
dowhateverhere();
return param;
}
//-->
</script>
Bookmarks