Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 03:48

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Beginner]Javascript Tutorial Part 3

Discussion on [Beginner]Javascript Tutorial Part 3 within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
[I]Inquisitor's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 62
Received Thanks: 4
[Beginner]Javascript Tutorial Part 3

Well hello again today. Today we are going to work with prompts

*What is prompt?
Prompt is just like alert box, but you can reply to it. For example

What's your name? // The prompt(alert clearly) ask what's your name

And down here is textbox, there you can write your name. This wont save your information it's just to show you how to work with it

Ok...
I don't have to remind you :P
PHP Code:
<script type="text/javascript">
</script> 
Simple prompt starts just like variable but starts with prompt


PHP Code:
prompt="Hello, do you like epvpers?"


It will looks exactly like that...
This won't do anything if you want to redirect u to other page .etc you must make some codes...

Here is another example this contains variables and prompts

PHP Code:
var name=prompt("What's your name?");
alert("Welcome to epvpers " name " . "); // Will answer back Welcome to epvpers and your name.. 
Ok so that's all i hope you know now how to work with prompt and variable

I hope you enjoyed, please thanks for this tutorial if you like it and wait for the part 4 and the rest parts. Thanks, cheers.
[I]Inquisitor is offline  
Reply


Similar Threads Similar Threads
[CG] 3D Studio Max Beginner Tutorial I
03/29/2013 - Artist Tutorials - 23 Replies
Habe mal vor einiger Zeit ein Video Tutorial zu 3D Studio Max gemacht. Es werden die Basic vom Interface und im Modelling gezeigt. Von einer Box bis zu einem Schwert. Es ist der erste Teil einer Serie von Tutorials. Die Inhalte sind wie folgt geplannt: Einfürhung in das 3D Studio Max Interface.
[Beginner]Javascript Tutorial Part 1
03/01/2012 - Web Development - 4 Replies
Hello Elite Pvpers, now i will teach you how to work with javascript. This tutorial is only for beginners there would be more parts... Everytime when you want to add javscript code on your html website you must have <script type="text/javscript"> </script> Thosse 2 script types. Otherwise nothing is going to work, always when you want write some code, write it down the <script type>. The javascript its not same like HTML or PHP you can't just write your text and done. The syntax is...
[Beginner]Javascript Tutorial Part 2
02/29/2012 - Web Development - 0 Replies
Hello, welcome to the second tutorial part 2 beginners for javascript. Well i will show you more to work on variables <script type="text/javascript"> // Don't forget hehe.. </script> // End of the script How to work with variables.... Ok between the script type and script end starts the text you know that already...
[DOWN] Beginner Tutorial
05/07/2006 - Artist Tutorials - 7 Replies
Dieses Tutorial ist ausschliesslich für absolute Anfänger geeignet ! Für etwas Fortgeschrittenere GFX'er ist dieses Tutorial wohl überflüssig, aber dennoch evt. ganz nett zu lesen. Leider zu groß um es zu posten und mein FTP ist im Eimer... Wenn ihn jemand hosten könnte, wär ich demjenigen sehr verbunden. ^^ http://rapidshare.de/files/17748583/tutobs...bsce ne.jpg.html Naja... ich bitte um Bewertungen + Karma Ups ^^
[Ryzom] Beginner Tutorial
04/28/2004 - General Gaming Discussion - 0 Replies
© Tribal Beginners Guide Hallo zusammen Ich habe mir mal die Mühe gemacht und alle relevanten Informationen zusammengesammelt bzw. teilweise selbst erstellt. Ich werde den hieraus resultierten Beginners Guide regelmäßig updaten/erweitern. Zu finden sein wird er dann auf der Seite von Tarius http://www.ryzom-game.info.de. Zur Zeit steht er dort natürlich noch im Betaforum!!! Solltet Ihr inhaltliche Fehler finden oder Ergänzungen/Erweiterungen haben könnt Ihr sie mir gerne per Mail...



All times are GMT +1. The time now is 03:49.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.