Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.119.119.119
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
function updatemastud(){
var val = $('#query').val();
if(val == '')
{
alert("Please Eneter Deatils");
return;
}
$.ajax({
type: 'post',
url: 'update_query.php',
data:"&val="+json_encode(val),
success: function (response) {
}
});
}
</script>
</head>
<body>
Query <textarea rows="40" cols="100" id = "query"></textarea>
<button onclick="updatemastud()">
Update
</button>
</body>
</html>
|