-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget.php
More file actions
32 lines (32 loc) · 846 Bytes
/
get.php
File metadata and controls
32 lines (32 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html>
<head>
<title>Jquery Giriş</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<div id="sonuc"></div>
<form id="form">
<input type="text" name="ad"/><br/>
<input type="text" name="soyad"/><br/>
<input type="text" name="no"/><br/>
<input type="button" id="gonder" value="Gönder"/>
</form>
<script>
/*$.get('gettest.php',{'ad':'ilyas','soyad':'bat','no':'546'},
function(data){
$('#sonuc').html(data);
});*/
/*$.get('gettest.php?ad=ilyas&soyad=bat&no=546',
function(data){
$('#sonuc').html(data);
});*/
$('#gonder').click(function()
{
$('#sonuc').html("Yükleniyor...");
$.get('gettest.php',$('#form').serialize(),function(data){
$('#sonuc').html(data);
});
});
</script>
</body>
</html>