MayoorPatel
Programmer
Hi there I have a dropdown
and a set of div tabs.
What I need to do is when the dropdown value is changed I need whatever DIV tab is active to be passed to the function (ExecuteMail(Currenttab)) in the dropdown onchange command.
Is there any way of doing this?
Mayoor
Code:
<select name="OrganisationID" size="1" class="text300"
onChange="javascript:document.forms[0].submit();">
and a set of div tabs.
Code:
<td id="cardActivitySchemeTab" class="selectedTab" onclick="setFormAction(this.id);moveTabSectorSkillsReports(this.id, 'cardActivityScheme');">Card Activity by Scheme</td>
<td id="allNewCardsTab" class="tab" onclick="setFormAction(this.id);moveTabSectorSkillsReports(this.id, 'allNewCards');">All New Cards</td>
<td id="cardsIssuedTab" class="tab" onclick="setFormAction(this.id); moveTabSectorSkillsReports(this.id, 'cardsIssued');">Cards Issued</td>
<td id="verifierActivityTab" class="tab" onclick="setFormAction(this.id); moveTabSectorSkillsReports(this.id, 'verifierActivity')">Verifier Activity</td>
<td id="detailedVerifierActivityTab" class="tab" onclick="setFormAction(this.id); moveTabSectorSkillsReports(this.id, 'detailedVerifierActivity');">Verifier Activity (Detailed)</td>
What I need to do is when the dropdown value is changed I need whatever DIV tab is active to be passed to the function (ExecuteMail(Currenttab)) in the dropdown onchange command.
Code:
<select name="OrganisationID" size="1" class="text300"
onChange="ExecuteMail(Currenttab);javascript:document.forms[0].submit();">
Is there any way of doing this?
Mayoor