• Content count

  • Joined

  • Last visited

About niksii

  • Rank
    Forum Newbie

Profile Information

  • Gender
    Not Telling
  1. Hi. I tried to put pure Javascript to my page but console says: "Uncaught TypeError: Object #<Object> has no method 'setXMLUrl'". My code looks like this: <html> <head> <title>kokeilu</title> <script type="text/javascript" src="templates/FusionCharts/FusionCharts.js"></script> <script type="text/javascript" src="templates/FusionCharts/jquery.min.js"></script> </head> <body> <div id="chartContainer">Tähän tulee kuvaaja.</div> <script type="text/javascript"><!-- var myChart = new FusionCharts( "MSLine", "myChartId", "400", "300" ); myChart.setXMLUrl("templates/Data/esimerkkiData.xml"); myChart.render("chartContainer"); // --> </script> </body> </html> As you can see, it is very simple. I have MSLine.swf in the same folder with javascript-files (if it is needed to be there). For some reason I am not able to get this working.