Jump to content

2 functions to one mouse click


freelance84

Recommended Posts

If I want to apply two functions to one mouse click, how is this done?

 

Is it  a)

onclick="showOther('tweak_help_hide','none','tweak_help_show', 'inline');"

onclick="changeValue('help_value','show');"

 

or  b)

 

onclick="showOther('tweak_help_hide','none','tweak_help_show', 'inline'); changeValue('help_value','show');"

 

 

I know this is pretty basic, but i'm getting there  :)

Link to comment
Share on other sites

Well, I've just started getting my head into JS and I think i'm going to continue for the meanwhile.

 

html php mysql and css, i now have a pretty solid (i think) understanding of and i started out by learning the raw basics and building on them as i went.

 

Also at the moment, i'm only applying bit of js here and there, nothing too intensive.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.