我很難在此代碼中正確引用引號。不要工作,所以我猜測報價是錯誤的。不能正確得到引號
html+='<img src="' + noteDirectory + '"/ "' + currentNote + '".png>'";
我很難在此代碼中正確引用引號。不要工作,所以我猜測報價是錯誤的。不能正確得到引號
html+='<img src="' + noteDirectory + '"/ "' + currentNote + '".png>'";
你需要的是這樣的:
html+='<img src="' + noteDirectory + '/' + currentNote + '.png">';
一種更好的方式來看待它會是:你只需要"
src=
後.png
最後>
感謝您的幫助。 – james