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.
div 内のすべてのドル記号を「CHF」(別の通貨) に置き換えることができる関数を探しています。その理由は、通貨記号がハードコーディングされており、置き換える必要があるためです。
これを行う簡単な方法はありますか?
よろしくお願いします。
jQuery('div').each(function(i){ jQuery(this).text(jQuery(this).text().replace('$','CHF')) })