Fixing SAYT server abort error in IE

10 views
Skip to first unread message

keif

unread,
Jan 7, 2009, 4:24:50 PM1/7/09
to Google Enterprise Labs
I had the same issue as another poster where IE7 would frak out and
throw:
"internet explorer cannot open the internet site"

And close, returning the error page.

This was resolved by changing the doctype to XHTML (if this wasn't
default, the XSL I was handed had been changed) and changing the
initialize call to:

<script type="text/javascript">
document.write(unescape("%3Cscript type='text/
javascript'%3EsearchAsYouType.initialize(document.getElementById('q'),
true);%3C/script%3E"));
</script>

The error is a "known issue" in IE, usually caused by appendChild or
innerHTML firing before the object it was editing was fully formed.

If you use a javascript framework and called it using the domReady
function (I believe they all have this function in one format or
another) it also assists in clearing this issue.

Thanks to DBenge for his clarification on his issue as well!
Reply all
Reply to author
Forward
0 new messages