以下jQuery代碼不起作用。請檢查演示模糊事件引起的問題用文本框交換textarea,反之亦然
//code to change textbox
$('.SpeakMindInputArea').live("click",function(){
$(this).hide().next().show(5).focus();
$(this).next().find('textarea').first().focus();
});
$('.SpeakMindField').live("blur",function(){
$(this).find('.SpeakMindInputArea').first().show().next().hide();
});
我想在文本框的點擊它來改變textarea的和模糊到護牆後面。但如果我嘗試提交表單,則需要保持原樣。
重新發布問題不是一個好主意。 – Bakudan