Hey. I want to place a hidden textfield in my page, and if a submit is prooved successful, the textfield will display some text. So, I have created a text field, and in css, I am using visibility:hidden. This hides the text field.
My question is whether this will also hide the text I want displayed? And if this is the best way to do this?
cheers
You should be using Javascript for this. You want behavior (e.g. if submit is successful, then you want text shown)
If you place visibility:hidden on anything, that entire element and the children will be hidden. So yes the text will be hidden.
I doubt this is the best way for it. You could use JS to dynamically add the HTML for the success message. Jquery or mootools probably has some good scripts for this, try googling some 