我有两个div我需要执行切换两个div 这样做时,我的主div的一些div即使我使用hide()函数,这只会发生在ie7切换不起作用在IE 7
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
}
善神人。使用标点符号。 – 2010-05-06 19:37:12
添加JQuery作为标记,因为Javascript不太准确。 – 2010-05-06 19:52:21
他们看起来更像我的Prototype ID选择器。 – bobince 2010-05-06 20:51:19