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.
計算後に入力フィールドの加算記号を削除できますか?
例: input_A: (15*2)+30....計算された後、Input_Aフィールドは次のようになります。(15*2),30.
input_A: (15*2)+30....
(15*2),30.
見てみな:-
http://jsfiddle.net/qvDFY/12/
はい、できます.replace。関数を使用します。
.replace
そして、ここに例があります。