මෙකෙන් අදහසක් ගන්න පුලුවන් වෙයි
sender.php
<script>
sendData();
</script>
<script>
function sendData(){
var data = "regname=new york";
$.ajax({
type: "POST",
url: "test.php",
data: data,
cache: false,
success: function(result){
alert(result);
}
});
}
</script>
test.php
<?php...