integrate jquery plugin with database
<p>this plugin is working fine for static values.but i want to use values from database.it is  a 3d chart.i have tried everything .but couldn't find any solution.its very urgent for me.so do help.ihave tried various things.searched every possible site that could explain this.but nothing has helped as of yet.even searched about the website which makes these kind of plugins but ni proper documentation was found on this.it will be of gr8 to other developers also who want to integrate any juqery plugin with their database.</p>

<pre><code>       &lt;html&gt;
    &lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
    &lt;title&gt;Highcharts Example&lt;/title&gt;




       &lt;script type="text/javascript"&gt;
         var mysuperdata= null;
        jQuery.ajax({
        url: url: "Default2.aspx/GetData",
        contentType: "application/json; charset=utf-8",
        data: { "param1": p1, "inicialDate": inicialDate, "finalDate": finalDate },
        dataType: "jsonp",
       success: function (d) { mysuperdata = d }
      });


     &lt;/script&gt;


&lt;script 
     type="text/javascript"                                                                                   
     src=
     "http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
      $(function () {
            var chart;
            $(document).ready(function () {
                chart = new Highcharts.Chart({
                    chart: {
                        renderTo: 'container',
                        plotBackgroundColor: null,
                        plotBorderWidth: null,
                        plotShadow: false
                    },
                    title: {
                        text: 'Browser market 
                         shares at a specific website,   2010'
                    },
                    tooltip: {
                        pointFormat: '{series.name}: 
                            &lt;b&gt;{point.percentage}%&lt;/b&gt;',
                        percentageDecimals: 1
                    },
                    plotOptions: {
                        pie: {
                            allowPointSelect: true,
                            cursor: 'pointer',
                            dataLabels: {
                                enabled: true,
                                color: '#000000',
                                connectorColor: '#000000',
                                formatter: function () {
                                    return '&lt;b&gt;' + this.point.name + 
                                   '&lt;/b&gt;: ' + this.percentage + ' %';
                                }
                            }
                        }
                    },
                    series: [{
                      type: 'pie',
                      name: 'Browser share',
                      data: mysuperdata
                  }]
                });
            });

        });
    &lt;/script&gt;
  &lt;/head&gt;
    &lt;body&gt;
     &lt;script src="http://code.highcharts.com/highcharts.js"&gt;&lt;/script&gt;
      &lt;script src="http://code.highcharts.com/modules/exporting.js"&gt;&lt;/script&gt;
           &lt;div id="container" style="min-width: 400px; height:
                   400px; margin: 0 auto"&gt;&lt;/div&gt;

            &lt;/body&gt;
          &lt;/html&gt;       using System;
       using System.Collections.Generic;
       using System.Linq;
       using System.Web;
       using System.Web.UI;
       using System.Web.UI.WebControls;
       using System.Web.Services;
       using System.Web.Script.Services;

       public partial class Default2 : System.Web.UI.Page
       {
         protected void Page_Load(object sender, EventArgs e)
        {

        }  
         [WebMethod]
       [ScriptMethod(ResponseFormat = ResponseFormat.Json, XmlSerializeString = false)]
        public static Array GetData()
         {
           return new Dictionary&lt;string, double&gt;()
              {
                 { "Firefox", 45 },
                 { "IE", 24.8 },
                 { "Chrome", 12.8 },
                 { "Safari", 8.5 },
                 { "Opera", 5.2 },
                 { "Outros", 3.7 },
              }.ToArray();
           }
          }

              i have edited the code adriano but still its not working.its showing a blank page.i dnt know what to do now.may be u can copy paste my code in your visual studio and see whats wrong.buddy do help.i will give u my bounty straight away.i just want a way to do this
</code></pre>
