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.
JavaScript (特に jQuery) を使用して、括弧のすべてのインスタンスの直前に改行を追加する必要があります。
文字列のクラス/ID を指定して特殊文字 (この場合は括弧) を検索し、その前に HTML を追加できることを示すドキュメントを見つけることができませんでした。
誰でも私を助けることができますか?ありがとうございました!
$("#unique").html( function(i, oldtext){ return oldtext.replace("(","<br> ("); });
フィドル