Question: Calling Functions function buttonReport(buttonId, buttonName, buttonValue) { //information about the id of the button var userMessage1 = Button id: + buttonId + ; //about

Calling Functions

onclick= "buttonReport(this.id,this.name,this.value)" />

Onclick="buttonReport(this.id,this.name,this.value)" />

onclick="buttonReport(this.id,this.name,this.value)" />

In the lecture, we have learned by creating a function that can send the user a message about a button he or she has just clicked. We place the function definition in the section of the page and call it with multiple arguments. Lets practice a hands-on exercise by creating the script listed in the following in your text editor, save it as functioncall.html,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!