0 Replies Latest reply on Apr 9, 2008 7:29 AM by JFERO

    IIS settings and Ajax

      I am running CFMX 7.0 on W2k server (IIS 5.0) and I am trying to implement some simple ajax calls with the coldfusion pages that return data to add elements to a select box. The problem is every time I get the return data the page includes <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> at the beginning of the page so it returns that along with the query results and it appears in the select box. It happens on blank documents with an HTML extension as well. It doesn't happen on an apache server I am running only the IIS, so I figure there must be a setting in IIS to suppress this "default" HTML header. hopefully some one here will know.

      This does qualify as a stupid question. I have included the code for the page which returns the pipe delimited response to the ajax request.


      Eric O.