Quote:
|
Originally Posted by iam_clint you might try a on mouse down and on mouse up such as
onmousedown="mousepress(0);" onmouseup="mousepress(1);"
var mousestate
function mousepress(state) {
mousestate = state;
} |
Hi, I'm having this problem with getElementBy********
I have an xmlhttprequest call which works as far as
-
something = http.responseText.split("||");
-
the request is calling a php script which queries a database giving me two variables $numfields and $numrows, and two arrays, array1[] and array2[][], self-explantory. When I try to assign the two variables using getElementByName, or when I try to assign either array using getElementById I get the same error "Object doesn't support this property or method"
-
numrows = result.getElementByName("numrows").innerHTML;
-
numfields = result.getElementByName("numfields").innerHTML;
-
array1 = something.getElementById("array1").innerHTML;
-
All my text fields have ID's. Does anyone have any insight into this?
RPJD