Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 2nd, 2004, 08:44 AM
Authorized User
 
Join Date: Oct 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default dynamically add new controls to a page

I have an aspx page with a select control. When user selects a choice in the control, I would like to add extra controls to the same page below the control. When user selects different choices, I have to add different controls. Can someone tell me the javascript that does this in the page. I am new to javascript. Can you please give me an example.
Many Thanks


 
Old October 4th, 2004, 12:52 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

I think it would be better if you can do that in aspx itself insted of going for javascript. Its much more easier coding in C# or VB.Net that in javascript. Moreover in case you want to do that in JavaScript, you may need to use DHTML which may not be supported by all browsers

Regards
Ganesh
 
Old October 22nd, 2004, 12:29 AM
Registered User
 
Join Date: Oct 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

good topic!
i love wrox books!

http://www.mopei.net/
http://www.dataempery.com/
http://www.long-credit.com.cn/
http://www.cnmoto.com/






Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help me about dynamically created controls vingo_mail ASP.NET 2.0 Basics 1 March 24th, 2008 12:54 PM
Adding Controls Dynamically andyj00 C# 0 March 19th, 2007 08:54 AM
Creating controls dynamically Renu ASP.NET 1.0 and 1.1 Basics 9 December 19th, 2004 10:21 AM
Dynamically created controls katsarosj ASP.NET 1.0 and 1.1 Basics 4 February 4th, 2004 09:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.