cancel
Showing results for 
Search instead for 
Did you mean: 

adding javascript variable to <a href="...

Former Member
0 Kudos

Hello @ all,

I want to use a value of a Javascript array in a HTML like

<script>

var array=new Array();

<b>array[0]</b>=Value1;

array[1]=Value2;

</script>

<a class=SAPBEXBtnStd href="<SAP_BW_URL cmd='LDOC'TEMPLATE_ID='TEST'+<b>array[0]</b>>">to TEST</a>

How can I do this?

Accepted Solutions (1)

Accepted Solutions (1)

former_member184494
Active Contributor
0 Kudos

Mehmet,

Looks like you want to have a dropdown , you can add this directly into the HTML version of the Web Template.

Click on the HTML tab and add the same.

Is there any specific behavior you want this dropdown to have ?

Arun

athavanraja
Active Contributor
0 Kudos

answered in BSP forum

Raja

Answers (0)