console.log( document.getElementById('item').getAttribute('selected') );. Why jquery method attr () does not do same as getAttribute() ?
確定! 回上一頁