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.
<
div
id
=
"result"
>12343778</
div
>
1.
var
delimiter =
'.'
;
2.
$(
'#result'
).html()
3.
.toString()
4.
.replace(
new
RegExp(
"(^\\d{"
+($
this
.html().toString().length%3||-1)+
"})(?=\\d{3})"
),
"$1"
+ delimiter)
5.
.replace(/(\d{3})(?=\d)/g,
"$1"
+ delimiter);
1.
var
text = $(
"#textareaId"
).val();
2.
var
lines = text.split(/\r|\r\n|\n/);
3.
alert(lines.length);
1.
jQuery.fn.log =
function
(msg) {
2.
console.log(
"%s: %o"
, msg,
this
);
3.
return
this
;
4.
};
5.
$(
'#some_div'
).find(
'li.source > input:checkbox'
).log(
"sources to uncheck"
).removeAttr(
"checked"
);
01.
// Based on: http://www.quirksmode.org/js/findpos.html
02.
var
getCumulativeOffset =
function
(obj) {
03.
var
left, top;
04.
left = top = 0;
05.
if
(obj.offsetParent) {
06.
do
{
07.
left += obj.offsetLeft;
08.
top += obj.offsetTop;
09.
}
while
(obj = obj.offsetParent);
10.
}
11.
return
{
12.
x : left,
13.
y : top
14.
};
15.
};
01.
function
isCreditCard( CC ){
02.
if
(CC.length > 19)
03.
return
(
false
);
04.
05.
sum = 0; mul = 1; l = CC.length;
06.
for
(i = 0; i < l; i++){
07.
digit = CC.substring(l-i-1,l-i);
08.
tproduct = parseInt(digit ,10)*mul;
09.
if
(tproduct >= 10)
10.
sum += (tproduct % 10) + 1;
11.
else
12.
sum += tproduct;
13.
if
(mul == 1)
14.
mul++;
15.
else
16.
mul-;
17.
}
18.
if
((sum % 10) == 0)
19.
return
(
true
);
20.
else
21.
return
(
false
);
22.
}
1.
$(
"#element"
).live(
'click'
,
function
(e) {
2.
if
( (!$.browser.msie && e.button == 0) || ($.browser.msie && e.button == 1) ) {
3.
alert(
"Left Button"
);
4.
}
5.
else
if
(e.button == 2)
6.
alert(
"Right Button"
);
7.
});
1.
var
img = $(
'#imageid'
);
2.
var
theImage =
new
Image();
3.
theImage.src = img.attr(
"src"
);
4.
alert(
"Width: "
+ theImage.width);
5.
alert(
"Height: "
+ theImage.height);
- 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
ChatTotal.com
this.bid
YeuNu.com
system.money
war.money
index.services
ZWVQ.com
CTRCoin.com
ABP3.com
pornID.net
CreditCard.rip
CryptoKD.com
XMQV.com
choose.works
eChainBank.com
ApexBTC.com
ChainTutor.com
CoinHolo.com
choose.exchange
Card.rip
Jquery is great Réponse
Thanks CaoPhong ...