How can I associate two javaScript functions or methods with onClick event in ASP.NET ?

Posted on 2007-08-05
Last Modified: 2013-11-05
How can I associate two javaScript functions or methods with onClick event in ASP.NET ?
like this:
How can I associate another one?
Question by:mazin_kf
    1 Comment
    LVL 29

    Accepted Solution

    Dear mazin_kf,
    It depend how you control the javascript logic. Basically, you can code something like this:

    pass any extra parameters to call another function associated with first invoked function.

    function func(){

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo‚Ķ
    This video teaches users how to migrate an existing Wordpress website to a new domain.
    The viewer will learn how to count occurrences of each item in an array.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now