Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

confluence #set parameter.... question

liljoint
Contributor
May 30, 2012

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

1 answer

1 vote
CharlesH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 31, 2012

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events