W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2003

How to insert Option values through tidy,

From: Renjith K.V <renjith@iceindia.com>
Date: Mon, 17 Feb 2003 13:05:31 +0530
Message-Id: <5.2.0.9.0.20030217123859.00ac4b48@tvm.asianetindia.com>
To: html-tidy@w3.org


Hi

I need to add values to Combo Boxes through html tidy,
How can i do this ?

ie  more clearly

my html is like this , and now i have to add more countries in to it

<select name="Country"  width="30">
        <option selected value="USA" name="Country">
            USA
         </option>
</select>

when i add the list would be

<select name="Country"  width="30">
        <option selected value="USA" name="Country">
            USA
         </option>
        <option selected value="India" name="Country">
            India
         </option>
</select>

How can i do this ?
can i use void InsertNodeAtStart(Node *element, Node *node) of parser.c for 
this purpose ?

please help me

Renjith. 
Received on Monday, 17 February 2003 02:27:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:53 GMT