I am using a javascript function to get the values of alot of input fields and escaping them so I can pass them to a window.open function. I am receiving an error when the fields have certain data but not sure what. Here is an example of the data that is causing an error:
reservationReservationID=CMFBMF&reservationHotelName=Demonstration%20Hotel&reservationDateCreated=9/19/2002%201%3A35%3A42%20PM&reservationTitle=Mr&reservationFirstName=Mickey&reservationLastName=Mouse&re servationAddress1=123%20main%20street&reservationAddress2=apt%20300&reservationAddress3=address%20li ne%203&reservationAddress4=address%20line%204&reservationCity=Denver&reservationState=CO&reservation Postal=80206&reservationCountry=US&[email protected]&reservationTelephone=303%20595-2500&reservationFacsimile=303-595-1234&reservationCardType=VI&reservationCardNumber=4444333322221111&reservationExpiry=0905&reservatio nArrivalDate=9/18/2003&reservationDepartureDate=9/23/2003&reservationnumberofnights=&reservationNumberOfAdults=2&reservationNumberOfChildren=1&reservatio nRoomAndRateDate1=9/18/2003&reservationRoomAndRateDescript1=300&reservationRoomAndRateGiven1=King%20Non%20-%20%60smoking%60%20room-type%20in%20the%20name%20field.%28%20Rack%20%29&reservationRoomAndRateDate2=9/22/2003&reservationRoomAndRateDescript2=300&reservationRoomAndRateGiven2=King%20Non%20-%20%60smoking%60%20room-type%20in%20the%20name%20field.%28%20Rack%20%29&reservationRoomAndRateDate3=9/19/2003&reservationRoomAndRateDescript3=375&reservationRoomAndRateGiven3=King%20Non%20-%20%60smoking%60%20room-type%20in%20the%20name%20field.%28%20Rack%20%29&reservationRoomAndRateDate4=9/20/2003&reservationRoomAndRateDescript4=375&reservationRoomAndRateGiven4=King%20Non%20-%20%60smoking%60%20room-type%20in%20the%20name%20field.%28%20Rack%20%29&reservationRoomAndRateDate5=9/21/2003&reservationRoomAndRateDescript5=300&reservationRoomAndRateGiven5=King%20Non%20-%20%60smoking%60%20room-type%20in%20the%20name%20field.%28%20Rack%20%29&reservationAgentIatan=&reservationAgencyName=&reserv ationTAAddress1=&reservationTAAddress2=&reservationTACity=&reservationTAState=&reservationTAZip=&res ervationTACountry=&reservationTATelephone=&reservationTAFacsimile=&reservationCanx=&reservationOther HotelSvcMemo=&reservationomit=on&reservationCurrentRecordNumber=1
Thanks in advance,
Michael




Reply With Quote