So I have 2 buttons and each button click is supposed to call 2 different functions. I figured I can use Javascript to get the values but how do I get the value to be usable in a macro? What I have tried is this
<script type="text/javascript">
function getVal(value){
#set $value=value
alert(value)
}
</script>
Obviously this does not work. Without the #set $value=value
code, I see an alert every time I click on something.