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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.