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

What is an image map, Question: (a) (i) How does HTML allow you to inse...

Question: (a) (i) How does HTML allow you to insert an image on a page with an alternate text if the image is not loaded? (ii) If after uploading your site, all the images

Social website, how to creat a register and login form

how to creat a register and login form

Frame tag, As you can supposition, this tag is utilized for placing an HTML...

As you can supposition, this tag is utilized for placing an HTML file in the frame created. We have to now tell the browser what to put in each of frame. Check out the code for

Explain sessions and cookies, Where is the sessions stored? Sessions ar...

Where is the sessions stored? Sessions are stored in server side & it is accessed by a unique id that is known as the session-id where each user-visitor is assigned when they a

Forms, Each of form in a document develops a form object. As a document can...

Each of form in a document develops a form object. As a document can have more than one form, Form objects are stored in an array called forms. Forms Array By using the for

Wordpress website creation, Wordpress Website creation I have just finis...

Wordpress Website creation I have just finishing a photoshop design for a merely straight forward HTML website. It has 15 content pages with few photos and graphs. I want to

Needed web designer and web professional, Web Designer and Web Professional...

Web Designer and Web Professional I have a current small business website as well as need help changing it so that people can access it from a smart phone and so on. Flash, perh

We are seeking of joomla template conversion, We are seeking of Joomla Temp...

We are seeking of Joomla Template Conversion I need to convert the template into Joomla format. The deliverables here are- a) The ENTIRE template including all the pages w

I want help in wordpress web developer php jquery html5 css, I want help in...

I want help in Wordpress Web Developer (PHP Jquery HTML5 CSS) We need a wordpress web developer who is experienced in PHP / SQL / JQUERY / HTML / CSS / Wordpress / Photoshop / I

I need a website designing, Website Designing Want to revamp an existing...

Website Designing Want to revamp an existing website Job description- Need to change the look of an existing website therefore that it can have greater hits Web developmen

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