Re: Problem with calling a function within a newly created element
Joost Diepenmaat wrote:
Not quite true.
However, there is a catch with that in IE. I think I have posted an
explanation/test case before, but I can't seem to find it.
PointedEars
--
var bugRiddenCrashP ronePieceOfJunk = (
navigator.userA gent.indexOf('M SIE 5') != -1
&& navigator.userA gent.indexOf('M ac') != -1
) // Plone, register_functi on.js:16
Joost Diepenmaat wrote:
DL <tatata9999@gma il.comwrites:
>
You're missing that select elements don't have a value; the options
have.
>ok, thanks, I think now I know what's going on. The 'qType'+i element
>is a SELECT element with three options with values of ('YN' | 'CK' |
>'RD'). Probaly the syntax of
>document.getEl ementById(qt).v alue // qt being a var here
>isn't correct, yes? If so, how do we deal with it?
>is a SELECT element with three options with values of ('YN' | 'CK' |
>'RD'). Probaly the syntax of
>document.getEl ementById(qt).v alue // qt being a var here
>isn't correct, yes? If so, how do we deal with it?
You're missing that select elements don't have a value; the options
have.
However, there is a catch with that in IE. I think I have posted an
explanation/test case before, but I can't seem to find it.
PointedEars
--
var bugRiddenCrashP ronePieceOfJunk = (
navigator.userA gent.indexOf('M SIE 5') != -1
&& navigator.userA gent.indexOf('M ac') != -1
) // Plone, register_functi on.js:16
Comment