Relative Content

Tag Archive for phpajaxchart.js

Converting chart.js image to url and post it with Ajax issue

Im try to convert chart.js image to url then post it using ajax are success if ajax and image save function in the same php file. I try to post the url to another file and not the same file but the ajax did not return anything with$image = $_POST['imgData'];. if the ajax and the save function is on different file i need to open the ajax file first, then image will be save to directory

data are not shown after using ajax call

im trying to post image that been convert to url by using ajax. The problem is $image = $_POST['imgData']; not show anything but if i check developer tools on network preview the data can be seen.