Hello JavaRanchers,
The function below is a javascript function that has AJAX code to request and recieve data from a
servlet.
Questions: 1.The above code works in firefox version 2.0.0.1.4 but not in Internet Explorer 7(Just displays a blank page). Any input on this ?
2.As I said earlier, this code works in firefox version 2.0.0.1.4 but it gives me the below error when it works on firefox version 3.0.1. I traced this error through firebug( an addon in firefox ) and it shows the below error on
line 20,
uncaught exception: [Exception... "Not enough arguments [nsIXMLHttpRequest.send]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: http://localhost:8080/Iward/login :: xmlhttpPost :: line 20" data: no]
Line 0
Based on this error, I checked my javascript function code, but i am not able to understand whats wrong with it.
Could anyone please provide thier input on it ?
Thanks,
Hardik Raja
SCJP 5.0
[ August 18, 2008: Message edited by: Hardik Raja ]