Can't echo jquery (with ajax) variable in php
- by Lars Kerff
I'm trying to post a variable through ajax. But it won't echo the variable in php.
This are the variables (these are working, seen in the log):
$("#slider").bind("valuesChanged", function(e, data){console.log("min: " + data.values.min + " max: " + data.values.max);});
The Ajax part:
$("#slider").bind("valuesChanged", function (e, data) {
…