How to save in database?

  •  09-29-2005, 1:10 AM

    How to save in database?

    Hi, 
     
    I am using CuteEditor 5.0 version. My HTML document has just one drop down box.
    The drop down box have 3 values :
    Value 1 : SINGAPORE
    Value 2 : INDIA
    Value 3: USA
     
    When I select the value INDIA, client side HTML shows :-
    <div>
       <select style="width: 130px">
           <option value=sin>SINGAPORE</option>
           <option value=ind selected>INDIA</option>
           <option value=us>USA</option>
       </select>
    </div>
    However, I decide to save the HTML page into the database. Using the API command Editor1.XHTML, I save it using XHMTL and separately as text. Now, I expect the Editor to save my keeping my above selections intact. But on saving the page, I find that your Editor is not able to store the selected value = India. When I reload the page I find that the selected value = India is not displaying at all. Instead the dropdown box shows the first value = Singapore.
    I do need the selected value to be saved on the database. Cud you please explain what I should do ?
     
    Regards,
    Anbaz.
View Complete Thread