• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Setting the values in Combo using DOM objects

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mapraputa,
I'm creating a row dynamically using DOM objects. I have one row always with all properties and attributes set and simply I need to replicate that row. I have a drop-down combo in one cell with hard-coded options in it and the same is to be repeated in the newly created Combo...
var currText = document.createElement("select");
currText.setAttribute("name","cmbValueType"+(j+1));
currText.setAttribute("size",1);
Let me know the possibilities to attach the options like '=', '<', '>' etc. to the drop down.

------------------
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!