javascript - getElementById can't find rendered div -
i have in function success handler google wallet (for digital goods):
var elem = document.getelementbyid(div1); i checked debugger , value of variable div1 same id of div see 'inspector' (in firefox) know it's rendered. besides, page shown, , after clicking button google wallet popup appear.
so why elem null? (and how solve this?)
thanks comment sergio found value of variable not correct 1 - instead of being "abc" "abc ". (-with space @ end.)
Comments
Post a Comment