I am tired select box function for geting datafrom the database and
display in tabular form.

Mozilla--Every thing ok but i am not able to get all the rows from
database i am geting 4 and half rows.........i tired GET
method.........

EXample:
xmlHttp.open("GET", "fnctions.php?moviename=" + movie, true);
xmlHttp.onreadystatechange = handleRequestStateChange;
xmlHttp.send(null);

   Please help me how to use "post method" or any other method to get
all the rows


IE---The browser is detected but showing error    Error reading the
response;[object error];;;
           Can any one help why this error will come or at which
point.

EXample:

var xmlResponse = xmlHttp.responseXML;
if (!xmlResponse || !xmlResponse.documentElement)
throw("Invalid XML structure:\n" + xmlHttp.responseText);

var rootNodeName = xmlResponse.documentElement.nodeName;
if (rootNodeName == "parsererror") throw("Invalid XML structure");

xmlRoot = xmlResponse.documentElement;
responseText=xmlRoot.firstChild.data;
myDiv = document.getElementById("pla");
myDiv.innerHTML =responseText ;

Reply via email to