Click here to Skip to main content
13,042,819 members (76,707 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I want to add a radio button and a text field dynamically with their corresponding css when a button clicks. I do find many methods to add elements dynamically but the css is not working. please suggest some links
Posted 11-Jul-13 19:00pm
"CSS is not working" is not informative. There are too many ways to screw up things. Due to hot days and vacation season, my access to your hard drive is somewhat limited. :-)

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Please see my comment to the question. Quite apparently, no description of the problem => no answer.

However, I can give you an advice: the simpler your manipulations on the HTML DOM elements, the less likely the bugs. To simplify it greatly, you can use jQuery. Please see the jQuery methods in Manipulation category:[^],[^],[^],[^].

If you need to learn jQuery (highly recommended), please see:[^],[^],[^],[^],[^] (start from here).

Good luck,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 12 Jul 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100