₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,083 members, 8,420,226 topics. Date: Thursday, 04 June 2026 at 02:02 PM

Toggle theme

Javascript Help! - Webmasters - Nairaland

Nairaland ForumScience/TechnologyWebmastersJavascript Help! (850 Views)

1 Reply (Go Down)

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
1 Reply

Trouble With Javascript CodeJavascript Help!Dhtml Quiz: How Will You Detect If A Browser Support Javascript From Php Code?234

Articles On R‚sum‚Stop Complaining, Just Get Public And Be KnownQuotation For A Business Website