2011-11-10 21 views

回答

0

嘗試改變$(this).parent().parent().parent().attr('id');$(this).closest('your element class/id').attr('id');

+0

謝謝john,但是currentValSelect2 = $(this).parent()。parent()。parent()。attr('id');工作正常,不要在.blur()事件之後使用select元素($('。versionSelectWizardCoti')),這會凍結元素並且不顯示選項 –

相關問題