nouislider - Add a percentage (%) symbol to input value, but not pass with form -


i have nouislider working fine. add postfix "%" symbol input fields, show user value percentage value, , problem i'm having value being passed form includes % symbol. know workaround value passed form?

an alternative method tried, format:wnumb method suggested in nouislider documentation follows:

slider.nouislider.on('update', function( values, handle ) {     moisturevalues[handle].value = values[handle] + '%'; }); 

however still appending percentage symbol url. there other way solve problem? thanks

the value of input value submitted, how basic feature in html works. have options:

  • place % sign in <span> after input.
  • use addeventlistener('submit', ...) on form, capture submit, change input value , re-submit (using .submit()).
  • displaying entire value in span, , using separate (hidden) input submit value.

(disclosure: i'm lead developer libary).


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -