Loading
Browsing articles in "java script"
May
1
2012

Java Script Tutorial Part-6

javascript

Java Script Tutorial: Built in Functions Reverse Sort Concat Join Example for Reverse <html> <head> <script> var a = new Array(‘Ajay’,’Vijay’,10); b = a.reverse(); document.write(b); </script> </head> <body> </body> </html> Example for Sort ( Default is Assending Order ) <html> <head> <script> var a = new Array(‘Ajay’,’Vijay’,’Raju’); b = a.sort(); document.write(b + ‘<br>’); b = b.reverse(); document.write(b); </script> </head> <body> </body> </html> Example for Concat <html> <head> <script> var a = new Array(10,20,30); var b [...]

Apr
22
2012

Java Script Tutorial Part-5

java-script

Java Script Tutorial: Events On click On dblclick On change On reset On submit On focus On blur On load On mouseover On mousemove On mousedown On mouseout On keypress On keyup On reset <html> <head> <script> function f1() { a = confirm(‘Are you sure to Clear’); alert(a); return a; } </script> </head> <body> <form onreset=”return f1();”> <input name=”uname”> <br> <input name=”uname”> <br> <input name=”uname”> <br> <input value=”OK”>         <br> <input name=”rs” value=”RESET”> </form> </body> </html> [...]

Mar
11
2012

Java Script Tutorial Part-4

JavaScript

Hey this is the fourth part of the Java Script Tutorial and this Part is about DOM(Document Object Model) along with examples.. and further Parts will be Updated soon….. Java Script Tutorial Part-4: DOM (Document Object Model): The HTML DOM defines a standard way for accessing and manipulating HTML documents. DOM methods getElementById() getElementsByName() getElementsByTagName() write() Example 1 : <html> <head> <script> function Exampleample() { document.getElementById(‘un’).value=’mindq’; } </script> </head> <body> <form> <input name=”uname”> <br> <input [...]

Feb
23
2012

Javascript Interview Questions Part-1

javascript

Javascript Interview Questions: Javascript Interview Questions and Answers What’s the difference between JavaScript and Java? Answer :: The main difference between these two computer languages is that javascript functions within the web browser while java functions outside of the browser, using its own specific file types. Don’t let this distinction confuse you, though. The latest versions of the browsers have java runtime engines built into them so that java applets can play within the browser [...]

Feb
17
2012

Java Script Tutorial Part-8

javascript

Java Script Tutorial: Hey hi here is the eighth part of Java Script Tutorial and there are some more parts to be posted and these parts will be updated soon…. Window methods The reload() method is used to reload the current document. Syntax location.reload() Ex : <html> <head> <script> function reloadPage() { window.location.reload() } </script> </head> <body> <input value=”Reload page” onclick=”reloadPage()”> </body> </html> The replace() method replaces the current document with a new one. Syntax [...]

Feb
12
2012

Java Script Tutorial Part-3

java-script

Java Script Tutorial Part-3: Hey this is the third Part of Java Script Tutorial and further parts will be updated soon……. Double dimensional Array: It is nothing but Array  in Array Example 1 <html> <head> <script> a = new Array(10,20,30); b = new Array(40,50,60); c = new Array(70,80,90); d = new Array(a,b,c); document.write(d + ‘<br>’); document.write(d[0][0] + ‘<br>’); document.write(d[0][1] + ‘<br>’); document.write(d[0][2] + ‘<br>’); document.write(d[1][0] + ‘<br>’); document.write(d[1][1] + ‘<br>’); document.write(d[1][2] + ‘<br>’); document.write(d[2][0] + [...]

Feb
6
2012

Java Script Tutorial Part-7

javascript

Java Script Tutorial: Hey this  is the seventh part of  Java Script Tutorial and there are some more parts which will be updated soon… JavaScript is the most popular and major scripting language , and works in all major browsers, such as Internet Explorer, Firefox, Chrome, Opera, and Safari. Form Validdation <html> <head> <script> function check() { /* —————————————————-  */ if(document.f1.unm.value==””) { alert(“Plz enter user name”); document.getElementById(‘u’).focus(); return false; } else { s=document.f1.unm.value; for(i=0;i<s.length;i++) { [...]

Pages:12»

Tutorials & Interview Questions

PageRank



E-Books of the month

Guide-to-HTML-JavaScript-and-PHP Sams.Teach.Yourself.C.plus.plus.in.24.Hours.5th.Edition.2011 A limited time offer only for one month.The Books are Guide to HTML, JavaScript and PHP For Scientists and Engineers & Sams Teach Yourself is a Book in which you can learn the c++ within 24 hours...

Enter your Email to Grab free E-Books


didn't receive the e book please contact us at info@downloadsparade.com

Recent Comments

Who's Online

  • 0 Members.
  • 2 Guests.

Stats