You can add attributes using attr like so: $('#someid').attr('name', 'value');. However, for DOM properties like checked, disabled and readonly, ...
確定! 回上一頁