I know ajax...but having a crazy time making the jquery do the same function....
I'm passing a variable and appending it to the page. How can I re create that function with jquery?
Here's my ajax code below:
- function filterColumn(){
var tl = document.getElementById('tl').value;- dim();
loader();- nocache = Math.random();
- http.open('get', 'include/filterColumn.php?tl='+tl);
- http.onreadystatechange = doFilter;
- http.send(null);
- }
function doFilter() {- if(http.readyState == 4){
- closeDim();
- var response = http.responseText;
- document.getElementById('updateQualitySpan').innerHTML = ' ' +response+ '';
- }
- }