| | |
Dynamic Generation of fields
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2005
Posts: 14
Reputation:
Solved Threads: 0
Hi everyone,
I am Nandoo,I am new to this webDeveloping so plz take me ease.
I am having a problem in generation of fields dynamically.let me give the detail
My page should have a single button(with name add),whenever a click that button it should give a select list along with two text box and the text box values should be changing whenever i select the listed elements.
It would be ease for u all but please let me know how to solve i am trying for the past 3 days.
Thanks in advance.
Nandoo
I am Nandoo,I am new to this webDeveloping so plz take me ease.
I am having a problem in generation of fields dynamically.let me give the detail
My page should have a single button(with name add),whenever a click that button it should give a select list along with two text box and the text box values should be changing whenever i select the listed elements.
It would be ease for u all but please let me know how to solve i am trying for the past 3 days.
Thanks in advance.
Nandoo
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
The typical way to do this is to create all the controls you need in the original document. You set the CSS Visibility property to "hidden" for the controls you don't want to show.
Then, code for some event (like a button click). The event handler would set the visibility property to "visible" for the controls you want to now show.
The other approach is to set the .innerText or .innerHTML property of a container element, such as a DIV.
If you search for ".innerHTML", you should find all the samples you need.
Then, code for some event (like a button click). The event handler would set the visibility property to "visible" for the controls you want to now show.
The other approach is to set the .innerText or .innerHTML property of a container element, such as a DIV.
If you search for ".innerHTML", you should find all the samples you need.
![]() |
Similar Threads
- Conversion of CSV file to hash table (Perl)
- How to use flash successfully (Graphics and Multimedia)
- dynamic generation of any component (Java)
- Oracle reports: Continous horizontal fields (Oracle)
- Urgent.....Dynamic Changes.... (JavaScript / DHTML / AJAX)
- Dynamic web pages? Which will exist? (IT Professionals' Lounge)
Other Threads in the HTML and CSS Forum
- Previous Thread: HTML & XML
- Next Thread: CSS menu hover question
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash font fonts form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 xml xsl






