there is
<input id="pos_price" type="text" value="+20.25" /> valueField = parseInt(jQuery("input[id^='pos']").val());
in such a way I will get the whole value, and I only need the first sign, i.e. "+"
How do i get it?
valueField = parseInt(jQuery("input[id^...">
there is
<input id="pos_price" type="text" value="+20.25" /> valueField = parseInt(jQuery("input[id^='pos']").val());
in such a way I will get the whole value, and I only need the first sign, i.e. "+"
How do i get it?
Source: https://ru.stackoverflow.com/questions/37885/
All Articles