Javascript Help! - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › Javascript Help! (850 Views)
| Javascript Help! by binaflexia(op): 12:38pm On Oct 22, 2011 |
How can i dynamically generate this type of form element in javascript, including the table rows and columns enclosing the form elements. I have try to google for solution, but without success. I code in PHP, but i need it to integrate in my code. Thanks for your help.
|
| Re: Javascript Help! by Nobody: 4:49pm On Oct 23, 2011 |
two ways 1.store the HTML Markup in a string and and assign that string to a div. 2.u can use the DOM approach by creating childnodes and appending to other nodes. i assume u understand JavaScript if not then u might need to. let me know if u got the concept |
| Re: Javascript Help! by frisahost(m): 10:10am On Nov 02, 2011 |
@binaflexia visit 3wschool.com you will get more explaination and pratical on how to do it |
| Re: Javascript Help! by Fayimora(m): 10:12am On Nov 02, 2011 |
Take @pc-guru's first approach, Store your form code in a string and place it in a div when necessary |
Trouble With Javascript Code • Javascript Help! • Dhtml Quiz: How Will You Detect If A Browser Support Javascript From Php Code? • 2 • 3 • 4
Articles On R‚sum‚ • Stop Complaining, Just Get Public And Be Known • Quotation For A Business Website