How do you call function in javascript?

Questions by parthoaccy

Showing Answers 1 - 4 of 4 Answers

Code
  1. <script language="javascript" type="text/javascript">

  2. //Declare Function

  3. "function called");

  4. }

  5. //call function from the script it self

  6. a();

  7. </script>

  8.  

  9. //call function on button click

  10. "button" onclick="a()"/>

  Was this answer useful?  Yes

IRS786

  • Aug 10th, 2008
 

For example:

Code
  1.  

  2. <html>

  3. <head>

  4. <script type="javascript""are you calling me!""button" onclick="call()" value="call"

  Was this answer useful?  Yes

Ranjan Kumar

  • Sep 22nd, 2011
 

Code
  1. span style="color: #0000ff;">"ok")

  2. }

  3.  

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions