Guest, enregistrer login
JavaScript - l'un des langages de programmation côté client, un langage de programmation utile pour le développement web. Des exemples de code JavaScript, Simple et facile à maîtriser.
- 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.
Simple alert box:
<html> <head> <script type="text/javascript"> function show_alert() { alert("Simple alert box!"); } </script> </head> <body> <input type="button" onclick="show_alert()" value="Show alert" /> </body> </html>
Alert box with line breaks:
<html> <head> <script type="text/javascript"> function show_alert() { alert("This is how simple it is to" + 'n' + "add line breaks to an alert box!"); } </script> </head> <body> <input type="button" onclick="show_alert()" value="Show alert" /> </body> </html>
Display a confirmation dialog:
<html> <head> <script type="text/javascript"> function show_confirm() { var val = confirm("Press a button"); if (val == true) { alert("You pressed OK!"); } else { alert("You pressed Cancel!"); } } </script> </head> <body> <input type="button" onclick="show_confirm()" value="Show a confirm box" /> </body> </html>
Simple timer:
<html> <head> <script type="text/javascript"> function fireTimer() { var t = setTimeout("alert('2 seconds!')",2000); } </script> </head> <body> <input type="button" value="Display timer" onClick = " fireTimer()"> </body> </html>
Determine which mouse button was clicked:
<html> <head> <script type="text/javascript"> function whichButtonClick(event) { if (event.button==2) { alert("You clicked the right mouse button!"); } else { alert("You clicked the left mouse button!"); } } </script> </head> <body onmousedown="whichButtonClick(event)"> </body> </html>
Reset a form:
<html> <head> <script type="text/javascript"> function formReset() { document.getElementById("testform").reset(); } </script> </head> <body> <form id="testform"> Name: <input type="text" size="20"><br /> Address: <input type="text" size="20"><br /> <br /> <input type="button" onclick="formReset()" value="Reset"> </form> </body> </html>
- 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
CreditCard.rip
ApexBTC.com
CryptoKD.com
system.money
CTRCoin.com
eChainBank.com
ChatTotal.com
YeuNu.com
index.services
this.bid
ChainTutor.com
XMQV.com
choose.works
Card.rip
ZWVQ.com
choose.exchange
pornID.net
CoinHolo.com
ABP3.com
war.money
simple & easy to master. Réponse
wall art decor Réponse