I got a XSL question on how to reuse a Dropdown selection,
My users are selecting an option to process a invoice,
Option A
Option B
How can I use the Last selection of the dropdown menu
to set as default on next load of the page
Is this possible?
Expand|Select|Wrap|Line Numbers
- <xsl:choose>
- <xsl:when test="$Doption = 'Option1'">
- <select class="optDisabled" id="Seloption" name="Options">
- <option value="Option1" selected="selected">Option1</option>
- <option value="Option2">Option2</option>
- </select>
- </xsl:when>
- <xsl:when test="$Doption = 'Option2'">
- <select class="optDisabled" id="SelOption" name="Options">
- <option value="Option1">Option1</option>
- <option value="Option2" selected="selected">Option2</option>
- </select>
- </xsl:when>
- <xsl:otherwise>
- <select class="optDisabled" id="SelOptions" name="Printer">
- <option value="Option1" selected="selected">Option1</option>
- <option value="Option2">Option2</option>
- </select>
- </xsl:otherwise>