title: Javascript Paypal slider string suffix
body: <p>I have this code <a href="http://jsfiddle.net/y8owze31/6/" rel="nofollow">http://jsfiddle.net/y8owze31/6/</a>. I need to be able to apply a suffix to the string via a variable. The way I am doing it now is very primitive. What I mean is</p>
  
  <pre><code>$(function() {
  var1 = "suffix"
  $( "#slider-range-max" ).slider({
    range: "max",
    min: 1,
    max: 50,
    value: 25,
    slide: function( event,ui, string) {
      $( "#amount" ).val( ui.value + "suffix" );
        $( "#amt_id" ).val( ui.value );
    }
  });
  $( "#amount" ).val( $( "#slider-range-max" ).slider( "value" ) );
  });
  </code></pre>
  
  <p>But this doesn't seem to work the way I would like it to and just tries to calculate with the string.</p>