<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE></STYLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Verdana><FONT color=#008000 size=2>So what can i do to make the
function call the correct var? nobody?</FONT></FONT><BR></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008000 2px solid; MARGIN-RIGHT: 0px">
<DIV>the inputs are created in a php for().</DIV>
<DIV>X for example is 1, 2 ,3</DIV>
<DIV>outputting them gives the desired value, f.e. </DIV>
<DIV><FONT face=Verdana color=#008000 size=2>function() { call(2
};</FONT></DIV>
<DIV><FONT face=Verdana color=#008000 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#008000 size=2>but when the javasript function
is called it only takes the last number f.e. 3,</FONT></DIV>
<DIV><FONT face=Verdana color=#008000 size=2>but not 2:(</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, January 10, 2006 4:31
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> re: [Javascript]
onblur=function() for document.createElement("input")</DIV>
<DIV><BR></DIV><FONT face=arial size=2>What is X? A global
variable?<BR><BR></FONT><FONT face="Tahoma, Arial, Sans-Serif"
size=2><B>From</B>: "Michael Borchers" <A
href="mailto:list@tridemail.de">list@tridemail.de</A><BR></FONT><BR>
<DIV><FONT face=Verdana color=#008000 size=2>i created an input element
via</FONT></DIV>
<DIV><FONT face=Verdana color=#008000
size=2>input=document.createElement("input")</FONT></DIV>
<DIV><FONT face=Verdana color=#008000 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#008000 size=2>all setAttribute() functions
work well too.</FONT></DIV>
<DIV><FONT face=Verdana color=#008000 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#008000 size=2>now i need to set an onBlur()
function on that input tag,</FONT></DIV>
<DIV><FONT face=Verdana color=#008000 size=2>no prob so far
with:</FONT></DIV>
<DIV><FONT face=Verdana color=#008000 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#008000
size=2> input.onblur=function() { call(X) };</FONT></DIV>
<DIV><FONT face=Verdana color=#008000 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#008000 size=2>the only problem: the function
does not receive the value for X.</FONT></DIV>
<DIV><FONT face=Verdana color=#008000 size=2>is that
normal?!</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>