Advertisements

Aatul Palandurkar

Posts Tagged ‘Web Design Tutorials

Objectives :-

* How to execute multiple functions on single HTML event?
* How to call multiple funtions on single HTML event?

Many time you may have faced this issue, you may need to call / execute multiple functions on single HTML event & you may have stucked there, stop working, changed the functionality, etc.

But now don’t worry about it anymore. Here is the Code to execute multiple functions on a single HTML event :-

<html>
<head>
<script type="text/javascript">
function Message1 ()
 {
 alert ("Message1");
 }
 function Message2 ()
 {
 alert ("Message2");
 }
</script>
</head>
<body>
<form name="NameTheForm">
<input type="Button" name="buttonName" onclick="Message1(); Message2()">
</form>
</body>
</html>

The above code will execute / call two functions on single HTML event. Here for example I have written two functions but you can write multiple functions & can call them to onclick event separated by semicolon (;) as shown above.

Posted from WordPress for Android

Advertisements

On 17 Feb. 2012 conducted Workshop on Web Design at Priyadarshini College of Engineering, Nagpur (INDIA) where HTML, Adobe Photoshop & Adobe Dreamweaver was also covered including no. of different tips & tricks for designing web pages, logos, transparent images, graphics, playing with layers, filters & effects, etc.

We admire the support from the college staff & volunteers too, they helped a lot in managing the 100+ students so well during the complete workshop between 10.30 AM to 04.30 PM.

It was again a great experience while interacting with students & answering all of their questions which I love a lot.


Advertisements

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 13,202 other followers

Tweets

YouTube

Archives

Advertisements
%d bloggers like this: