I'm getting a NaN value if i try to do any math with the two vars i pull form the form. It also gives me NaN if i try it parseInt it. IDK if it helps but the values are pulled from the URL using PHP; example: \[code\].../serch.php?animal=all&color=any&sunSd=all&lifeSpn=all&limiterF=5&limiterT=20\[/code\]limiterF and limiterT are the vars I'm working with.html:\[code\]<form id='serchForm' action="serch.php" method="GET">... <fieldset> From: <input type='text' id = 'limiterFid' name='limiterF' value=http://stackoverflow.com/questions/14059043/<?php if (!empty($_GET['limiterF'])) {echo $limiterF;} else {echo 0;} ?> size="2" /><br /> To: <input type='text' id = 'limiterTid' name='limiterT' value=http://stackoverflow.com/questions/14059043/<?php if (!empty($_GET['limiterT'])) {echo $limiterT;} else {echo 20;} ?> size="2" /> </fieldset> <input type="submit" id="submitNew" /> <input type="submit" id="nextSerch" />\[/code\]JS:\[code\]$(document).ready(function() { $("#serchForm input").click(function(e) { if(e.target.id == 'submitNew') { e.preventDefault(); $('#limiterFid').attr("value", 0); $('#limiterTid').attr("value", 20); $("#serchForm").submit(); } else if (e.target.id == 'nextSerch') { e.preventDefault(); var limiterF = $('#limiterFid').value, limiterT = $('#limiterTid').value; limiterT = limiterF + limiterT; limiterF = parseInt(limiterF, 5); $('#limiterFid').attr("value", limiterF); $('#limiterTid').attr("value", limiterT); $("#serchForm").submit(); } else { return; } });});\[/code\]This is what it will return when you click nextSerch:\[code\].../serch.php?animal=all&color=any&sunSd=all&lifeSpn=all&limiterF=NaN&limiterT=NaN\[/code\]