Saturday, September 13, 2014

Our first JavaScript Program

This is our First JavaScript program in this part we are going to learn how a JavaScript Program can be run in the web Browser what are the main effects & how a web program runs in the web Browser

 Every web Browser having a JavaScript engine which helps us in running JavaScript codes as we Knows JavaScript is a Client Side Programming language so every code is running in the clients Browser The Logic Behind the programming is Coders ask the Ques from the client & Give Expected ans ... If we talk about the coders mentality then in JavaScript Coders always asking optional Ques here so that he can Give his ans too :p So here is the First Vulnerable point in the JavaScript there is all inside the Web page that how a Web Page is Requesting to if we are able to find the vulnerable point then we can run our own script to by asking such Ques from the Client this is all about client side attacks

Let's understand the Basic in the JavaScript for our First program i am going to use the firebug if you don't know about firebug then i want to explain a little it is a browser based plugin which is used for the Debugging JavaSript

download from clicking on image bellow


So here we can see we can use two things to run a simple program Let's see both which clear a little more things too to us


script Running using firebug


Simple program in the notepad shows here where we can place our JavaScript code in the program Here you can see we can set JavaScript inside the head & after the body tag


In this image you can see both the things mention in the above image how the script is working or we can understand what happen when we place the script in the Head Section & what happens when we place our script in the body section
from the above image we can understand JavaScript is Running step by step in the order or we can analyse from here JavaScript Engine is working or reading the script step by step our 3rd image shows us the script is running in the Head section in the 3rd first part so there is no back text is shown in the image but when we place our script in the body section then in shows us the back text what we have in our html page.

Here we learn ::

1. How to write a JavaScript program
2. How to Run a JavaScript Program using firebug & using html file


Note: JavaScript is a Case Sensitive programming means we need to aware about upper & lower case in the JavaScript program. 
Share this post

0 comments

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

© 2017 Friends Code
Designed by cyb3r.gladiat0r
Posts RSSComments RSS
Back to top
Hack for India, Code for India, Configuration for India, Die for India !