I may have found the root cause for the current issue with recaptcha/paypal

Sending to list so that I can include a block of innerHTML
In this sample session, I create a div, then make sure the childNodes are 
ready, and then echo the class for two of them.  After that, I try to pick them 
up with getElementsByClassName.  It seems like we return an element on 
"recaptcha-checkbox-border" but we don't return an element on 
""recaptcha-checkbox-borderAnimation".  Could there be a case issue?

Barring something I'm missing of course.

K
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

test1 = document.createElement("DIV")

[object Object]

test1.innerHTML = '<SPAN class="recaptcha-checkbox goog-inline-block 
recaptcha-checkbox-unchecked rc-anchor-checkbox" 
id="recaptcha-anchor"></SPAN><DIV class="recaptcha-checkbox-border"><SPAN 
class="recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked 
rc-anchor-checkbox" id="recaptcha-anchor"></SPAN></DIV><DIV 
class="recaptcha-checkbox-borderAnimation"><SPAN class="recaptcha-checkbox 
goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" 
id="recaptcha-anchor"></SPAN></DIV><DIV 
class="recaptcha-checkbox-spinner"><SPAN class="recaptcha-checkbox 
goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" 
id="recaptcha-anchor"></SPAN><DIV 
class="recaptcha-checkbox-spinner-overlay"><SPAN class="recaptcha-checkbox 
goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" 
id="recaptcha-anchor"></SPAN></DIV></DIV><DIV 
class="recaptcha-checkbox-checkmark"><SPAN class="recaptcha-checkbox 
goog-inline-block recaptcha-checkbox-unchecked rc-anchor-checkbox" 
id="recaptcha-anchor"></SPAN></DIV>'

[...]

.

bye

jdb

cx2 jsrt.browse

test1

[object Object]

ok(test1)

childNodes,parentNode,tagName,nodeName,nodeType,class,ownerDocument,innerHTML,inner$HTML,name,id

test1.childNodes

[object Object],[object Object],[object Object],[object Object],[object Object]

test1.childNodes[0].class

recaptcha-checkbox goog-inline-block recaptcha-checkbox-unchecked 
rc-anchor-checkbox

test1.childNodes[1].class

recaptcha-checkbox-border

test1.childNodes[2].class

recaptcha-checkbox-borderAnimation

test2 = test1.getElementsByClassName("recaptcha-checkbox-border")

[object Object]

test3 = test1.getElementsByClassName("recaptcha-checkbox-borderAnimation")


Reply via email to