Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
2行目のエラーを取り除くのに苦労しています。
私は何を間違っていますか?
最初の改行文字 (開始の二重引用符の後) をエスケープする必要があります。
$("#insert-rated-category"+voteit).html(" \ <select id='' name=''> \ <option value=''></option> \ </select> \ ");
編集
空白行でも改行文字をエスケープする必要があります。ありがとう@cHao。