jquery document load
$(document).ready(function() {
// code here
});
jquery document load
$(document).ready(function() {
// code here
});
jquery La méthode .load()
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>jQuery demo ajax post et ajax get </title>
<script type="text/javascript" src=
"http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js">
</script>
<script>
$(document).ready(function(){
$("input").keyup(function(){
txt=$("input").val();
$("span").load("demo_ajax_post.php",{suggest:txt});
});
});
</script>
</head>
<body>
<p>Commencer
à saisir le nom d'un animal dans la zone de texte suivante:</p>
Nom
d'animal : <input type="text"/>
<p>Suggestions :
<span></span></p>
<p>le
fichier "demo_ajax_load.php"
utilisé dans cet exemple se trouve ici: (<a href="demo_ajax_post.txt"
target="_blank">demo_ajax_load</a>) </p>
</body>
</html>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us