I have a div element! And insite it have a form element as the following: I set display attribute is none, but the form still appear! If i insert some text into div (but outside form then that text don't display! But the text which is inside form then still display! I think that form element was effect by display attribute of div!
I also do $("#AddCatWrap).hide(), but the form still displau <div id='AddCatWrap' style="display:none;"> <form name="addcat" method=POST action="#"> <input type=text name="cat-name" value="" size=10 /> <input type=button name="save-button" value ="Save" /> <input type=button name="cancel-button" value ="Cancel" /> </form> </div> Anyone show me the solution! Thank in advance! -- /******************************************** * Người ta thưởng chỉ chú ý đến những kẻ lên như diều gặp gió! Nhưng hỡi ôi, chỉ có cát, bụi và lông hồng mới là những thứ lên nhanh nhất */