Sign in to follow this  
yang73

PHP & JavaScript (dataURL) problem

Recommended Posts

Hi,

 

 

 

Error occurs when

 

set label='Hong Kong' value='235' link='JavaScript:myJS('Hong Kong, 235')'

 

No error when

 

set label='Hong Kong' value='235' link="JavaScript:myJS('Hong Kong, 235');"

 

 

 

but I see in Combining FusionCharts, PHP & JavaScript (dataURL) method

 

...link='javaScript:updateChart(" . $ors['FactoryId'] . ")'.. ,

 

and it did not work. And I changed into

 

link="javaScript:updateChart(" . $ors['FactoryId'] . ");".. did not work also.

 

 

 

How I resolve it?

 

Many thanks,

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
Sign in to follow this