Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,152,130 members, 7,814,948 topics. Date: Thursday, 02 May 2024 at 01:23 AM |
Nairaland Forum / Science/Technology / Webmasters / Javascript Help! (802 Views)
Trouble With Javascript Code / Javascript Help! / Dhtml Quiz: How Will You Detect If A Browser Support Javascript From Php Code? (2) (3) (4)
Javascript Help! by binaflexia: 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 |
(1) (Reply)
4 Good Webmasters Needed Urgently In Abuja For 6 Month Contract & Accomodation / Get Your Own Website Now. / Webdesign
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 5 |