Thanks to those who responded.
Normally I would have posted a link but this is behind ADS authentication here
and I had to do some code modification to move it from there.
But, it was an annoyingly simple problem: in one line of j-code I used an ID
referrer ToiletFacOnSite when it should have been ToiletFacOnsite. I found it
after tracking down how to turn on the debugger in Safari.
What threw me off was it threw no errors in IE and I usually find IE way more
sensitive than Mozilla. I even turned on the IE debugger and it threw no
errors. The offending line of code was
if ( document.getElementById('ToiletFacOnSite').checked ) { (that's before I
corrected it) which causes me to wonder if Mozilla and IE have some kind of
optimization built in so they only look at enough of the id to find it is
unique (e.g., maybe ToiletFacO) and ignore the rest. Otherwise, why wasn't IE
complaining about the code? (Rhetorical question)
-----Original Message-----
From: Stephens, Larry V [mailto:[email protected]]
Sent: Tuesday, September 06, 2011 2:25 PM
To: cf-talk
Subject: Programming for an iPod - OT javascript/HTML question
I'm working on a form in CF that displays just fine on a desktop/laptop but the
javascript breaks in Safari once I introduce a <div>.
If anyone has a clue about this, please contact me off-list at
[email protected]
Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347271
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm