function apply_promo(){ var pcode = $("#promo").val(); alert(pcode); location.href = "index.php?req=quote&applypromo="+pcode;}
Just asking a question since there was no context, snarko.
Of course, I'd probably still submit the form rather than use window.location but that is me.