score:1
your parameter is missing in ajax
$.ajax({
url : "http://localhost:8888/ClicksChart/ckbox.php?CatId=<?php echo $_GET['CatId'];?>",
type : "GET",
dataType:'json',
success : function(array){
console.log(array);
alert('Welcome');
score:1
You forgot to write echo
url : "http://localhost:8888/ClicksChart/ckbox.php?CatId=<?php echo $_GET['CatId'];?>",
score:1
You are missing an '=' and an 'echo'
$.ajax({
url : "http://localhost:8888/ClicksChart/ckbox.php?CatId=<?php echo $_GET["CatId"];?>",
Source: stackoverflow.com
Related Query
- Get method in php then pass the value into json format
- Chart.js: Can't get a coordinate for value for x axis unless x axis has the exact same value
- How to get the database data into ChartJS using codeigniter
- Passing JSON data from PHP array into ChartJS
- Dynamically pass the JSON data in chartjs
- how to pass the value of input to my bar chart
- ChartJS: Get individual values minus another value in the custom legend
- Put the value into the doughnut chart
- ChartJS 3.7.1 tooltip callback, get label value for the next index
- Returning fetched JSON correctly but can't get it into Chart.JS
- How to chnage this value theHour[0].times into time format (HH:mm) using moment.js
- get JSON data from function to give value to Chart JS
- How can I display `Null` value data on Y Axis using the Primitive dataset format in Chart.js V3.7.0?
- How can I pass the data into the chartjs label?
- How to get certain text from json object value
- Parsing JSON data into specific format for chart.js
- How to display the more then one value inside tooltip in bar chart.js?
- Not being able to display value from json data into chart js
- Chart.js using the value of certain data in external json file
- How to use GET method to choose the right table to show ChartJS graph?
- How can i get the Chart JS Bar Graph Bar Label and Value on click?
- How to get a value from function javascript and print it to the chart
- Javascript get JSON into arrays, combine and use elsewhere
- tring to get data into chart.js from Javascript or PHP
- Truncating canvas labels in ChartJS while keeping the full label value in the tooltips
- ChartJS: get points information on hovering the points
- get yLabel value onclick chart js
- Chart.js get the nearest point when clicked on canvas
- Why can I not see a data value when hovering over a point on the radar chart?
- Chart.js - mixing bar and line graphs - can I get the lines to fill the full column?
More Query from same tag
- Horizontal scroll in vue-chartjs
- How write the labels of the data inside a Doughnut Chart made with Chart.js?
- Chartjs: I only want left and right padding in pie chart
- Access yLabel for specific bar in chartJs without click
- how can we use function of one component into another js file
- React - render Chart.js chart based on user selection, after Ajax returns JSON
- Charts.js is automatically adding comma as thousands separator when it shouldn't
- Chart.js Radar Labels Coordinates
- How to apply to different bground color for each area in Chart.js
- Changing borderDash for specific gridLines in radar chart
- Combine chart.js bar and line charts with differing granularity
- Line chart Change background color of shaded region on hover (Chartjs)
- Dropdown component not having effect in Chromium browser
- Chart.js same Y axis on left and right
- Setting width and height
- Adding image on chart js
- chart.js time x-axis - start ticks at specific time
- Legends for line charts in Chart.js
- Exclude value if under a certain percentage
- Looping through afterDraw in ChartJS
- ChartJS (React) Line Chart - How to show single tooltip with data and labels from 3 (multiple) dataset?
- ChartJS Separate Labels for each dataset/independent datasets?
- Chartjs to show more set of data of click of a button
- ChartJs: remove line between two points
- Add padding between two y-axis scales using chart.js
- Charts Area JS v2: How to set units?
- Grouping by month with series of epoch timestamps in Chart.js
- Chart.js on Angular with @types/chart.js
- Chart JS not working with date
- ChartJS - Time graph from JSON