views:

118

answers:

0

I have a test form, (see below), that if I Submit manually, (clicking the Submit button), returns an XML list of orders from the action script.

I would like to be able to pass the XML currently contained in the test HTML form programmaticaly via xmlHTTP. So far no luck. Any help would be appreciated.

<form action="processorders.asp" method="post" name="Orders" target="_blank">
    <textarea cols="80" rows="10" name="request">
     <REQUEST Version="1.0">
         <RequestID>06012005171718</RequestID>
         <Command>Orders</Command>
         <UserID>myuserID</UserID>
         <Password>xyzuvw</Password>
         <Status>all</Status>
         <SecurityKey></SecurityKey>
         <OrderStartNumber>2255</OrderStartNumber>         
      </REQUEST>
   </textarea><br>
    <input type="submit">
</form>