Calling deferred code from a script, PHP Web Programming

Assignment Help:

A function is a deferred script since it does not do anything till a function, an event, a JavaScript link, or an immediate script calls it. You have possibly noticed that you can call a function from a script. Sometimes you are interested in calling a function through the same script, and in other cases you may want to call it from another script. Both are possible.

Calling a function from the similar script is really simple. You just have to indicate the name of the function

<HTML>

<HEAD>

<TITLE>Calling deferred code from its own script</TITLE>

<SCRIPT LANGUAGE="JavaScript">

<!-- makeLine(30)

function makeLine(lineWidth) {

document.write("<HR SIZE=" + lineWidth + ">")

}

makeLine(10)

// -->

</SCRIPT>

</HEAD>

<BODY>

</BODY>

</HTML>


Related Discussions:- Calling deferred code from a script

Need help to create a shopping cart, Create a shopping cart I have an in...

Create a shopping cart I have an incomplete shopping cart. The preceding expert didn't finish the project. He has done 70% of the work as well as then sent it to me. I would lik

Working of telnet, 1. The commands & characters are sent to the operating s...

1. The commands & characters are sent to the operating system on common server computer. 2. The local operating system sends these commands & characters to a TELNET client progr

Newbi, how use the simple aplication for web with php fron iner and mysql t...

how use the simple aplication for web with php fron iner and mysql the databse

Needed a programmer experienced in wp theme, Programmer Experienced in WP T...

Programmer Experienced in WP Theme I have installed theme with bluehost. I have created the front page. Purchased Form Maker. My website has the front page designed. I want h

Input text field, The field size attribute determines the width of the disp...

The field size attribute determines the width of the displayed field. The maxlength attribute sets a limit on the maximum number of characters that can be typed in the field (whic

Dialog boxes in javascript, In this the user cannot switch to the window wi...

In this the user cannot switch to the window without closing the existing window.  This sort of dialog box is referred to as a modal dialog box. You generate a modal dialog box wit

Graphical browsers, Graphical browsers: In order to enjoy the multimed...

Graphical browsers: In order to enjoy the multimedia aspect of the Web, you have to use a graphical browser like Netscape Navigator or NCSA Mosaic. Graphical browsers can illu

We desire help in web site development, We need help in web site developmen...

We need help in web site development I need a developer to replicate a site for me. This will need the developer to setup an account as well as engage in to the site understandi

Hypertext transfer protocol, HTTP is a connectionless text depend protocol....

HTTP is a connectionless text depend protocol. Clients (web browsers) send requests to web servers for web elements like web pages and images. After the request is serviced through

Need help to create email capture web page for business, Email capture web ...

Email capture web page for business supplying WIFI MAILCHIMP We are supplying free WIFI to our customers. Our WIFI system permits us to forward customers to a URL once connec

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd