View Single Post
Old 06-12-2020, 04:30 AM   #8
Bid
Junior Member
Bid began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2020
Device: ipad
Quote:
Originally Posted by KevinH View Post
Try using the Inspector in Preview to see the java console and debug your script. Also id attributes must be *unique* so instead your code is probably finding the wrong element and failing.
Hi Kevin,
Thanks for your reply. May be I did not explain myself well. I know about id must be unique, even with this error it works on all browsers, when I put this code to sigil, it complain that an error detected around or above "for". I figured it , it's the "for" statement itself that it complains about, but I do not see why.

Bid
Bid is offline   Reply With Quote