Toggling doesn't work in IE 7

Posted by praveen on Stack Overflow See other posts from Stack Overflow or by praveen
Published on 2010-05-06T19:33:18Z Indexed on 2010/05/06 19:48 UTC
Read the original article Hit count: 139

Filed under:

I have two divs i need to perform toggling between two divs while doing this some of the divs in my main div are displaying even if i use hide() function this happens only in ie7 function initMakeAPost() {

 $('questionheaderid').hide();  //hiding the questions section
 $('MP_questionofday_txtboxid').hide();//hiding the questions answer"textbox and button" section
 $('recaspotheaderid').hide();//hiding the search by txtspotname and city-spots
 //$('footer_userpost').hide();//hiding the footer
 $('makeapostid').show();//show the make a post content
 $('btnQAPost').hide();
 $('footer_userpost').hide();
 $('sreetCredContainer').hide();
 $('postbtnid_dead').hide();
 $('askNextQuestion').hide(); 
 //$('UploadImgContainer').show();// for upload

}

© Stack Overflow or respective owner

Related posts about JavaScript