Mortiz Working Noteee
2012年8月17日
jQuery div內字串比對總是回傳 false
ex:
result = ($(
this
).html()==
"SubProject"
);
result: false
加上 .trim()即可
result = ($(
this
).html().trim()==
"SubProject"
);
result: true
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
沒有留言:
張貼留言