ActionsDev
3 replies to this thread. Most Recent
DeltaDave
10 Apr 2012, 9:15 pm
[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
Glasgow, Scotland
iMac 27 Snow (HD gone west!) and Pro 5.6.5 & 6.0.8
waltd
11 Apr 2012, 2:01 amIf 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
Help build a new ActionsForge: http://ActionsForge.com/next
Freeway user since 1997
DeltaDave
11 Apr 2012, 9:06 amThanks Walter
I will give that a go later
D
Glasgow, Scotland
iMac 27 Snow (HD gone west!) and Pro 5.6.5 & 6.0.8
DeltaDave
13 Apr 2012, 7:04 amThanks Walter - works for me
D
Glasgow, Scotland
iMac 27 Snow (HD gone west!) and Pro 5.6.5 & 6.0.8
