I need to include the content of a text box (to be sent to a function via function call).
currently I have
<form name="blah">
<input type="text" name="compdate" id="compdate" readonly onClick="GetDate(this);" />
<input type="button" onClick="ajaxwin.load('ajax', 'apptoshop.php?sid='.$_GET['sid'].'&doc=XXXX', ' '); return false">
</form>
I need to include the content of compdate where you see XXXX however I have no idea how to do it. any ideas?
Modified code: