Example my temporary input is 1,2,3
<input type="hidden" id="temp" name="temp" value="1,2,3">
var tempvalue = $("#temp").attr("value")
With jQuery it’s possible to get the number 3 only for tempvalue? So 1,2, will be removed while onclick action.
1 Answer