frwa Posted September 18, 2012 Share Posted September 18, 2012 I have a dropdown list on each cell of table row. Now what I need is dynamically add more dropdownlist on a particular cells with pressing the add button. Any code snippet to help on this? Thank you. Link to comment Share on other sites More sharing options...
justsomeguy Posted September 18, 2012 Share Posted September 18, 2012 You can use document.createElement to create a new element and then append it as a child of another element. https://developer.mozilla.org/en-US/docs/DOM/document.createElement http://www.w3schools.com/jsref/dom_obj_node.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now