943,659 Members | Top Members by Rank

Ad:
Apr 29th, 2005
0

Dynamic Generation of fields

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nandoo is offline Offline
14 posts
since Apr 2005
May 18th, 2005
0

Re: Dynamic Generation of fields

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.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: HTML & XML
Next Thread in HTML and CSS Forum Timeline: CSS menu hover question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC