Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

document.getelementbyId("captcha").complete is not working in fire fox and chrome

 
Manjunath Chumbalakar
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to check whether captcha is loded or not before displaying jsp.
Hence i use the below function during body onload

document.getelementbyId("captcha").complete

Its working fine with IE but not with firefox and chrome.

Kindly suggest is there any way to find image is loaded or not in chrome and fire fox.

Thanks.
Note: I dont want to use JQUERY because of ome restriction.
 
Richard Tookey
Bartender
Pie
Posts: 1166
17
Java Linux Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Should that not be
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic