Can I use the set parameter but with a javascript parameter value???
example
<script>
var id=123;
</script>
#set($id=javascript id parameter)
????????????????????????????????????????????
any other way to do this? pleaseeee
I think you're mixing different contexts here. Javascript is executed on the client side, in the browser, while velocity markup (you've used for setting the $id parameter) is server side.
What are you trying to achieve here? If you can describe the scenario a little more fully you may trigger the suggestion of a number of ideas.
It looks like you're new here. Sign in or register to get started.