I don't know if you posted the entire code there, but if so, the second 
close curly bracket should be a semicolon.

xmlHttp.onreadystatechange=
function()
{
document.getElementById("character").innerHTML=xmlHttp.responseText;
}
} <== make that a semicolon

-- Josh


----- Original Message ----- 
From: "Phillip M. Vector" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Monday, July 28, 2008 3:32 PM
Subject: Unknown JS error when doing AJAX.


> I'm setting up a AJAX JS which updates a field on the form that is
> called "character" as <div id="character">Stuff</div>
>
> When this function is run, it submits ok, but I get an "Unknown runtime
> Error" in the area of "{document.". The thing is, I thought Firefox was
> more solid on JS and it runs perfectly on that. But I do it in IE and it
> bombs.
>
> Any ideas what I'm missing?
>
> xmlHttp.onreadystatechange=
> function()
> {
> document.getElementById("character").innerHTML=xmlHttp.responseText;
> }
> }
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309836
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to