[Javascript] onblur=function() for document.createElement("input")
Michael Borchers
list at tridemail.de
Mon Jan 16 02:42:39 CST 2006
So what can i do to make the function call the correct var? nobody?
the inputs are created in a php for().
X for example is 1, 2 ,3
outputting them gives the desired value, f.e.
function() { call(2 };
but when the javasript function is called it only takes the last number f.e. 3,
but not 2:(
To: javascript at LaTech.edu
Sent: Tuesday, January 10, 2006 4:31 PM
Subject: re: [Javascript] onblur=function() for document.createElement("input")
What is X? A global variable?
From: "Michael Borchers" list at tridemail.de
i created an input element via
input=document.createElement("input")
all setAttribute() functions work well too.
now i need to set an onBlur() function on that input tag,
no prob so far with:
input.onblur=function() { call(X) };
the only problem: the function does not receive the value for X.
is that normal?!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20060116/9e4afca9/attachment.htm>
More information about the Javascript
mailing list