how to change values in dropdown list on click of radiobutton in xsl

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: how to change values in dropdown list on click of radiobutton in xsl

  1. #1
    Join Date
    Nov 2008

    how to change values in dropdown list on click of radiobutton in xsl

    I have written the following code for displaying radio button and dropdown lists in xsl , I want that on the click of the radio button ,the drop down list should be populated with some values .
    Can you help me on that ??
    td width="10%">
    <xsl:element name="input">
    <xsl:attribute name="type">radio</xsl:attribute>
    <xsl:attribute name="name">ProductType</xsl:attribute>
    <xsl:attribute name="value">Retail Product</xsl:attribute>
    <xsl:attribute name="checked"/>
    <td valign="top">
    <select name="productlist" class="dropdown">
    <xsl:element name="option">
    <xsl:attribute name="value">Me</xsl:attribute>
    Last edited by Hack; 11-12-2008 at 01:40 PM. Reason: Added Code Tags

  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    Where would the values be coming from?

    A text file?
    Hard coded?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Nov 2008
    The values that are populated in the dropdown list are coming from the database . To pick up these values from the database , i have written a stored procedure .

  4. #4
    Join Date
    Nov 2008
    what if i hardcode the values .. for the dropdown list ??... can you then help me out on this?

Similar Threads

  1. Populating 2 Dropdown List control
    By Nelson in forum ASP.NET
    Replies: 2
    Last Post: 05-08-2014, 11:04 PM
  2. Checkboxes inside dropdown list
    By srinivasc_it in forum ASP.NET
    Replies: 2
    Last Post: 10-31-2007, 12:21 AM
  3. Dual boot of Linux with Windows 2000.
    By Jacob Peter K in forum Open Source
    Replies: 8
    Last Post: 06-02-2004, 02:20 AM
  4. Replies: 2
    Last Post: 01-10-2002, 11:39 AM
  5. Change selected attribute by xsl
    By yanir in forum XML
    Replies: 0
    Last Post: 01-04-2001, 01:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center