return values from Jquery function
<p><br>I am a complete novice in jQuery and javascript, so if this sounds very silly or very simple thing to do please help me out with your expertise<br></p>

<pre><code>$(document).ready(function(){
  $('#add_button').click(function(){
    var vol = $('input#cv').val();
    var col = $('input#cc').val();
    var comment = $('input#co').val();
    var sample = $('#cv').attr('class');
    var url = $('input#cv').attr('title');
    if( (vol &amp;&amp; col &amp;&amp; comment)  == ''){
      alert('No data to update');
    }else{
      url =  url.concat('volupdate=',vol,'&amp;concupdate=',col,'&amp;commupdate=',comment,'&amp;sample=',sample);

      alert(sample + " " + vol + " " + col +" "+ comment +" " + url);
    }
  });
});
</code></pre>

<p>html : </p>

<pre><code>my $correct_vol = qq{&lt;input type="text" name="cv" id="cv" size="6" class="$sample_name" title="/here/is/where/you/are"&gt;};
my $correct_conc = qq{&lt;input type="text" name="cc" id="cc" size="6" class="$sample_name" title="/here/is/where/you/are"&gt;};
my $comments = qq{&lt;input type="text" name="co" id="co" size="10" class="$sample_name" title="/here/is/where/you/are"&gt;};
my $update = q{&lt;input type="submit" value="Update" id="add_button" class="add_now"&gt;};
</code></pre>

<p>These forms the last four columns in a big table. <br>My question is:  How should I return the url in jquery function to my perl?
<br>
if I use <code>return url</code> what should I expect ? And how should I handle the values passed from the <code>url</code> in my script? Thanks for your suggestions.</p>
