Menu
hi im trying to call a JS fuc when a certain div is pressed.
this is how i call it from a hyperlink
<a href=”javascript:callToActionscript(‘asjs’, ‘right’)””>right</a>
and i try to call it from the div like this
[code=html]$(‘#divOne’)(function(){
javascript(callToActionscript(‘asjs’, ‘right’))
});
which is not really working…
***EDIT
Sorry found the mistake.
[code=html]$(‘#divOne’).mouseup(function(){
callToActionscript(‘asjs’, ‘right’)
});