on 03-12-2008 2:08 PM
hi,
i want to pass the selected / to get the selected SPC chart name in called javascript function in multiple same applet scnerio. for example, if i have
param as
<param name="UpperChartSelectionEvent" value="Select">. is it possible to call select function as Select(1) if this is related to first applet.
how can do this?
regards
senthil
No, but you can "thunk" the calls to the main function call as in:
<applet name="Applet1" id="Applet1">
<param name="UpperChartSelectionEvent" value="SelectApplet1">.
</applet>
<applet name="Applet2" id="Applet2">
<param name="UpperChartSelectionEvent" value="SelectApplet2">.
</applet>
<applet name="Applet3" id="Applet3">
<param name="UpperChartSelectionEvent" value="SelectApplet3">.
</applet>
function SelectApplet1() {
Select(document.Applet1);
}
function SelectApplet2() {
Select(document.Applet2);
}
function SelectApplet3() {
Select(document.Applet3);
}
function Select(var MyApplet) {
// do stuff here
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.