[Pro] javascript joining

I am trying to join 2 javascript events in a link

My first is

javascript:PJDshow(tabarea1TabItems,0);

the next is

onclick="addClass('myID', 'newclass')"

Not being much of a JS expert I was wondering how these 2 can be joined to both work on a link.

David


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you have the first one in your link address area, you would add the second through the Extended dialog. Add the Name: onclick and Value: addClass(‘myID’,‘newclass’) through that sub-dialog.

Walter

On Apr 10, 2012, at 5:15 PM, DeltaDave wrote:

I am trying to join 2 javascript events in a link

My first is

javascript:PJDshow(tabarea1TabItems,0);

the next is

onclick="addClass('myID', 'newclass')"

Not being much of a JS expert I was wondering how these 2 can be joined to both work on a link.

David


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter

I will give that a go later

D


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter - works for me

D


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options