heres the demo
http://lufi.realservers.info/demos/add_forms_dynamically/
when i add another element (input boxes) i cannot remove the italicized-grayed labels inside
unlike the first input boxes. Also, they only disappear if I click the first set of input boxes.
are there any other ways to add styles to dynamically added elements?
You can try the
live()method to apply it to dynamically added element.