aditu23

Insert Dynamic Value In Dataurl Syntax

Recommended Posts

Hi,

 

I’m trying to insert in HTML call code for XML generated with ASP a dynamic value. Can somebody help me?

 

 

This is the code I use in HTML:

 

 

<select name="featured" size="1" id="item1">

 

<option value="volvo">Volvo</option>

 

<option value="saab">Saab</option>

 

<option value="vw">VW</option>

 

<option value="audi" selected>Audi</option>

 

</select>

 

…..

 

<PARAM NAME=movie VALUE="FC2ColumnLine.swf?dataUrl=providedatasql.asp?name=VALUE">

 

<PARAM NAME=quality VALUE=high>

 

<PARAM NAME=bgcolor VALUE=#000000>

 

<EMBED src="FC2ColumnLine.swf?dataUrl=providedatasql.asp?name=VALUE" quality=high bgcolor=#000000 WIDTH="565" HEIGHT="420" NAME="FCColumn" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>

 

…..

 

 

So instead of value I want to send to asp file selected value from item1. I tried to replace VALUE with document.getElementById('item1').value but doesn’t work.

 

Any ideas?

 

 

Thanks.

 

 

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

 

Could you please try rendering the chart using JavaScript API method? and then try to pass the dynamic value?

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now