Thursday, September 29, 2011

How to Attach External File of Javascript?

The process to attach a JavaScript file with the html file is -----


  1. First you have to create a JavaScript code file.
  2. Save it with extension .js.
  3. Now create an HTML code file.
  4. Give the complete address of js file into script tag under src=" ".
  5. Save it with extension .html or .htm.
  6. Run HTML file.
Example:--

JavaScript Code:---

var m1,m2,m3;
m1=prompt("Enter the 1st no.:");
m2=prompt("Enter the 2nd no.:");
m1=parseInt(m1);
m2=parseInt(m2);
m3=m1+m2;
document.write("Addition is :" +m3);

HTML Code:---


Input:---



Output:---
Addition is 36.

Sunday, September 25, 2011

Kisi Ka Khwaab

Bahut dur ka safar taiy karke aaya hu
Apne jazbaat ko qaid kar k aaya hu
Zindgi me paane ki khwahish to kuch aur thi
Par shayad kisi ka khwaab pura karne aaya hu

Bahut dur nikal aaya hu ki ab wapas ja nahi sakta
Mai kisi ki aas ko yun bhula nahi sakta
Zindgi k safar ka maza hi kuch aisa tha
Ki ab mai bhul kar bhi usko bhula nahi sakta

Apeejay Surrendra Park Hotels IPO: Should You Invest Today?

The Apeejay Surrendra Park Hotels (ASPH) IPO hits the market today, February 5th, 2024, offering a chance to invest in a well-established...