jQueryで文字列を検索置換

e = jQuery($('menu-item-83'));
e.html(e.html().replace(/(置換前)/,"置換後(置換前:$1)"));

Leave a Reply