- Create Account

SuperNote and Validation? Fixed.

Forums > SuperNote > SuperNote and Validation? Fixed.
Author
Message

1) uncoolcentral Group: Members
Posts: 1 Joined: 30 Jan 2008 Location: Home IP: 75.104.--.--
W3 doesn't like the un-escaped ampersands in these two lines:
if (!done &&  ref.style.filter.indexOf("alpha") == -1)
...
else  if (f.length && f.alpha) with (f.alpha)
----
Changing  them to & causes the script to fail.
So I added that body script to an external file and called it just as I call supernote.js
Problem fixed.

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 203.109.--.--
Yup, good fix. That's the best way to deploy a script anyhow!

- Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.