Guest, enregistrer login
Cette libre de HTML JavaScript tutorial fournit 45 + JavaScript/jQuery conseils et astuces qui vous aideront
- Demo
- Agrandir
- Recharger
- New window
Gratuit iPage hébergement Web pour la première année MOMENT
Si vous êtes toujours à la recherche d'un fournisseur d'hébergement Web fiable avec des tarifs abordables, pourquoi vous ne prenez pas un peu de temps pour essayer iPage, seulement avec $1.89/month, inclus $500+ Crédits supplémentaires gratuites pour le paiement de 24 mois ($45)?
Plus de 1.000.000 de clients + existisng peuvent pas avoir tort, vraiment vous n'êtes pas aussi! Plus important encore, lorsque vous enregistrez l'hébergement web à iPage grâce à notre lien, nous allons être heureux de renvoyer un plein remboursement. C'est génial! Vous devriez essayer iPage hébergement web GRATUITEMENT maintenant! Et contactez-nous pour tout ce que vous devez savoir sur iPage.
1.
var
count = 0;
2.
function
myFunction() {
3.
count++;
4.
if
(count > 5) clearInterval(timeout);
5.
//do something
6.
}
7.
var
timeout = setInterval(myFunction, 20000);
1.
if
($(
"#elementid"
).length) {
2.
//it does!
3.
}
01.
var
req = $.ajax({
02.
type:
"POST"
,
03.
url:
"someurl"
,
04.
data:
"id=1"
,
05.
success:
function
(){
06.
//something
07.
}
08.
});
09.
//Cancel the Ajax Request
10.
req.abort()
01.
$(document).ready(
function
() {
02.
var
dt =
new
Date();
03.
dt.setSeconds(dt.getSeconds() + 60);
04.
document.cookie =
"cookietest=1; expires="
+ dt.toGMTString();
05.
var
cookiesEnabled = document.cookie.indexOf(
"cookietest="
) != -1;
06.
if
(!cookiesEnabled){
07.
//cookies are not enabled
08.
}
09.
});
1.
var
tog =
false
;
// or true if they are checked on load
2.
$(
'a'
).click(
function
() {
3.
$(
"input[type=checkbox]"
).attr(
"checked"
,!tog);
4.
tog = !tog;
5.
});
1.
$(
"ul > li"
).click(
function
() {
2.
var
index = $(
this
).prevAll().length;
3.
});
01.
$(
"#lda-form"
).submit(
function
(){
02.
var
day = $(
"#day"
).val();
03.
var
month = $(
"#month"
).val();
04.
var
year = $(
"#year"
).val();
05.
var
age = 18;
06.
var
mydate =
new
Date();
07.
mydate.setFullYear(year, month-1, day);
08.
09.
var
currdate =
new
Date();
10.
currdate.setFullYear(currdate.getFullYear() - age);
11.
if
((currdate - mydate) < 0){
12.
alert(
"Sorry, only persons over the age of "
+ age +
" may enter this site"
);
13.
return
false
;
14.
}
15.
return
true
;
16.
});
1.
if
($(element).is(
":visible"
)) {
2.
//The element is Visible
3.
}
01.
<div id=
"foo"
>
02.
<div id=
"bar"
></div>
03.
<div id=
"baz"
>
04.
<div id=
"biz"
>
05.
</div>
06.
<span><span>
07.
</div>
08.
09.
//jQuery code to count child elements
10.
$(
"#foo > div"
).length
01.
jQuery.fn.center =
function
() {
02.
this
.css(
"position"
,
"absolute"
);
03.
this
.css(
"top"
, ( $(window).height() -
this
.height() ) / 2+$(window).scrollTop() +
"px"
);
04.
this
.css(
"left"
, ( $(window).width() -
this
.width() ) / 2+$(window).scrollLeft() +
"px"
);
05.
return
this
;
06.
}
07.
08.
//Use the above function as:
09.
$(element).center();
- Sent (0)
- Nouveau
iPhoneKer.com
Save up to 630$ when buy new iPhone 15
GateIO.gomymobi.com
Free Airdrops to Claim, Share Up to $150,000 per Project
https://tooly.win
Open tool hub for free to use by any one for every one with hundreds of tools
chatGPTaz.com, chatGPT4.win, chatGPT2.fun, re-chatGPT.com
Talk to ChatGPT by your mother language
Dall-E-OpenAI.com
Generate creative images automatically with AI
AIVideo-App.com
Render creative video automatically with AI
Save up to 630$ when buy new iPhone 15
GateIO.gomymobi.com
Free Airdrops to Claim, Share Up to $150,000 per Project
https://tooly.win
Open tool hub for free to use by any one for every one with hundreds of tools
chatGPTaz.com, chatGPT4.win, chatGPT2.fun, re-chatGPT.com
Talk to ChatGPT by your mother language
Dall-E-OpenAI.com
Generate creative images automatically with AI
AIVideo-App.com
Render creative video automatically with AI
Cool Domains for Sale!
javascriptbank.com javascripton.com gomy.mobi gomymobi.com
ChainTutor.com
Card.rip
ABP3.com
choose.exchange
ChatTotal.com
CTRCoin.com
YeuNu.com
XMQV.com
this.bid
CryptoKD.com
pornID.net
CoinHolo.com
CreditCard.rip
ApexBTC.com
index.services
system.money
choose.works
ZWVQ.com
war.money
eChainBank.com
Jquery is great Réponse
Thanks CaoPhong ...