I am trying to get data from one php page and pass it to another page using Ajax.
JS :
$.ajax({ url: \"action.php\", succes
For example,
Test
action.js
$('.dataClass').click(function(){ var value=$(this).attr('data-value'); $.ajax({url:"Ajax_SomePage.php?value="+value,cache:false,success:function(result){ alert("success"); }}); });
Ajax_SomePage.php