我有兩個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