model controller function viewdashboard(){ $this->load->model('AgentPerformance/agentPerformance_model'); $value = $this->agentPerformance_model->dashboard(); //echo $value; return $value; view <html> <head> <script src="http://code.highcharts.com/highcharts.js"></script> <script src="http://code.highcharts.com/modules/exporting.js"></script> <script> $(function () { $('#container').highcharts({ chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false }, title: { //alert('ttttt'); text: 'Browser market shares at a specific website, 2014' }, tooltip: { pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>' }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '<b>{point.name}</b>: {point.percentage:.1f} %', style: { color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black' } } } }, //alert('tttttt'); series: [{ // $.ajax({ // type: 'post', // url: 'viewdashboard', // data: {}, // success: function (data) { type: …

Member Avatar
+0 forum 0

Hello i have this codes to try to get this working. But when on ./index.html all the li are given a class of current_yes exept for the ./clients.html link. And the other way aroud if i go to Clinets/clients.html then all li exept ./index.html are given a class of current_yes. I also use this script with a menu with no sub level and for this menu it works. So if any boudy have any idea please share. Thank you. jQuery(document).ready(function($){ var url = location.href; $('.ribbon a').filter(function() { return this.href == url;}) .closest('li').addClass('current_yes'); }); And this is how my menu html …

Member Avatar
Member Avatar
+0 forum 1

Hi, I'm trying to make a label visible by clicking on a button. The following code will make the label visible, but will disappear in less than a second. I'm assuming its because the form is getting submitted in the java script, so the page is getting refreshed? Is there a different way of doing this, say in the JSP? <body> <% PumpController pc = new PumpController(false); %> <% if (request.getParameter("buttonName") != null) { if(request.getParameter("buttonName") == "Pump is On!") { pc.setPumpStatus(true); } else { pc.setPumpStatus(false); } } %> <form name="overrideForm" method="get"> <input type="hidden" name="buttonName"/> <input type="button" name="override" value="Override" onclick="changeState(this.value)"/> <input …

Member Avatar
+0 forum 0

can someone show me how to do this please? I am new to programming languge? here is the requirement? Thanks. Create a database table with 10 records with the following fields: Lastname, FirstName, Phone Number, Street Address, City, State, Zipcode. The table name is: “User Info”. Please create the table using SQL. 2) Write a program in VB script for the user to input a lastname and firstname in a form and display user information in a display. Also, indicate if record not found. 3) Write a program in VB script for the user to add an record to the …

Member Avatar
Member Avatar
+0 forum 3

Graphics and digital arts acoording which department is it CS or IS all what i know about it that it relaties to Java script language nothoing more and if it is to Is or Cs what is the department name ?

Member Avatar
+0 forum 0

hi, can you please help me in writeing a code in javascript which will eneble javascript in browser. The code need to be in java script. i am using a performante testing tool "gomez" which supports java scripts only. its really urgent. Thanx in Advance. :icon_smile:

Member Avatar
Member Avatar
+0 forum 4

I want to give 2 option for 5th subjects depending on stream choice. Means if user select Commerce then he/she must able to select any 1 subject from drop down either IP or Other same for other streams. – <!-- 1st select block will look like this --> <td>Stream : <select name="stream"> <option value="1">Commerce</option> <option value="2">Humanities</option> <option value="3">Sci[PCM]</option> <option value="4">Sci[PCB]</option> </select> </td> <!-- On Selecting the stream 5th subject will populated automatically accoring ti their respective stream which is like this --> <td>5th Subjects : <select name="5thsub"> <option value="1">IP</option> <option value="1">OTHER</option> <option value="2">Hindi</option> <option value="2">IP</option> <option value="3">CS</option> <option value="3">IP</option> <option …

Member Avatar
Member Avatar
+0 forum 4

The End.