cfajaxproxy and IE 7
Ronsweb Jul 2, 2008 3:43 PMI am currently developing a CMS.
I am having a problem sending html code to a CFC using cfajaxproxy in IE7. The code works perfect in Firefox 3
and Safari. The error that I get in IE 7 is the following:
Error: The system cannot locate the resource specified.
The CF8 server is updated with updater 1. I think it is a CF Bug.
Here is a test page broken down to a very simple form:
http://cms.lbcc.edu/testephox.cfm
Here is the code:
<cfajaxproxy cfc="cmsadmin.components.webpage" jsclassname="getpageOBJ">
<html>
<head>
<script language="JavaScript" type="text/javascript">
var submitform = function(){
res = document.testform.ta.value;
var catID = 5;
var editorContent = new getpageOBJ();
editorContent.savepage(catID,res);
}
</script>
</head>
<body>
<form action="" method="post" name="testform">
<textarea name="ta" cols="80" rows="30">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000" class="tablestylefooter">
<tr>
<td width="100%" valign="top" colspan="3"><img src=" http://www.lbcc.edu/images/web_temp_images/spacer_top.gif" width="100%" height="10" alt="" /></td>
</tr>
<tr>
<td colspan="3" width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="33%" align="left" class="footer"><span class="footertext1"><b>test</b></span><br /> <span class="footertext2"> 49asdfdsaf East Carson Street<br /> </span>
</td>
<td valign="top" width="33%" height="46">
<div align="center">
<span class="footertext3"><br />
ads </span><br /><a href=" http://acit.lbcc.edu/webcorner/index.cfm" title="Web Standards" class="linkcolor1">Web Standards</a></div>
</td> <td align="right" class="footer" width="33%" > <div align="right"><span class="footertext1"><b>adsfdsfsaf</b></span><br />
<span class="footertext2"> adsf adsfy<br />
Ladsf, CA 90806</span></div></td>
</tr>
</table>
</textarea>
</form>
<a href="javascript:void(0);" onClick="javascript:submitform();">Save Page</a>
</body>
</html>
-------------------------------------
Any suggestions would be appreciated.
Thanks.
Ron
I am having a problem sending html code to a CFC using cfajaxproxy in IE7. The code works perfect in Firefox 3
and Safari. The error that I get in IE 7 is the following:
Error: The system cannot locate the resource specified.
The CF8 server is updated with updater 1. I think it is a CF Bug.
Here is a test page broken down to a very simple form:
http://cms.lbcc.edu/testephox.cfm
Here is the code:
<cfajaxproxy cfc="cmsadmin.components.webpage" jsclassname="getpageOBJ">
<html>
<head>
<script language="JavaScript" type="text/javascript">
var submitform = function(){
res = document.testform.ta.value;
var catID = 5;
var editorContent = new getpageOBJ();
editorContent.savepage(catID,res);
}
</script>
</head>
<body>
<form action="" method="post" name="testform">
<textarea name="ta" cols="80" rows="30">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000" class="tablestylefooter">
<tr>
<td width="100%" valign="top" colspan="3"><img src=" http://www.lbcc.edu/images/web_temp_images/spacer_top.gif" width="100%" height="10" alt="" /></td>
</tr>
<tr>
<td colspan="3" width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="33%" align="left" class="footer"><span class="footertext1"><b>test</b></span><br /> <span class="footertext2"> 49asdfdsaf East Carson Street<br /> </span>
</td>
<td valign="top" width="33%" height="46">
<div align="center">
<span class="footertext3"><br />
ads </span><br /><a href=" http://acit.lbcc.edu/webcorner/index.cfm" title="Web Standards" class="linkcolor1">Web Standards</a></div>
</td> <td align="right" class="footer" width="33%" > <div align="right"><span class="footertext1"><b>adsfdsfsaf</b></span><br />
<span class="footertext2"> adsf adsfy<br />
Ladsf, CA 90806</span></div></td>
</tr>
</table>
</textarea>
</form>
<a href="javascript:void(0);" onClick="javascript:submitform();">Save Page</a>
</body>
</html>
-------------------------------------
Any suggestions would be appreciated.
Thanks.
Ron
