I pulled my hair out once over Firefox and needing a ";return false;" after
an ajax call...
>From what you described I have no idea what is going on... if there is an
error on the CF side it will be in your logs though and you should be able
to see it. You may want to go into the debug settings and make sure that the
IP restrictions are removed. I saw an interesting thing awhile back on my
mac that was due to IPV6. Just go into the admin console under debugging and
logging and click on "debugging IP addresses" and remove them.

hope that helps

On Tue, Feb 19, 2008 at 6:20 PM, Peyton Todd <[EMAIL PROTECTED]>
wrote:

> Hello all, and thanks for getting me over the hump I had to get past so I
> could work in Firefox instead of Internet Explorer. My site is working now -
> both in FF and in IE (at least the parts I've written, barring a few more
> changes I have to make, such as dealing with the fact that the childNodes
> numbering differs from the children numbering).
>
> But now in my additions to the site, I have hit a problem. The error
> message I receive (in a javascript alert window) is:
>
> "Error processing Javascript in markup for element getTx: [Enable
> debugging by adding 'cfdebug' to your URL parameters to see more
> information]'
>
> (getTx is a cflayoutarea into which an HTML table gets stuffed via a url
> to the CFM page 'populateTx.cfm'; when the SQL in populateTx.cfm finds no
> data to put into <input> elements in the table, it executes the statment
> <CFSET ajaxOnLoad("AddTranscript('Tx')")> to accomplish that. That
> Javascript function, AddTranscript(), in the main page, places an empty
> template in getTx - a bunch of <input> elements in lieu of those which would
> have been put there by populateTx.cfm - by setting the innerHTML of one of
> the table cells which populateTx.cfm did put there)
>
> The error message recommends adding 'cfdebug' to the url paramenters;
> however, I already have '&cfdebug' added to the end of my parameters, both
> in the main page url and in the url which fills the cflayoutarea where this
> problem occurs. And I still don't get any information on this bug. So my
> question is HOW DO I GET IT TO TELL ME MORE?
>
> I have done all of the following:
>
> The Firefox debugger is turned on, and although it has been very helpful
> all day today in telling me what's wrong at each step of my conversion from
> IE to FF, it records no error on this one. It's perfectly happy, it seems.
>
> In the ColdFusion Administrator, I have all the following turned on in
> Debug Output Settings: Enable robust exception information; Enable AJAX
> debug log window; Enable request debugging output; General debug info;
> Database activity; Exception info; Tracing info; Variables (cookies, CGI,
> Form, Session, Client, URL).
>
> When I run my page this way, the debugging window entitled 'ColdFusion MX
> Debugging' tells me nothing. The ColdFusion AJAX Logger says: 'error:http:
> Error processing JavaScript in markup for element getTx:' - which tells me
> nothing more than what we already know. The application.log and
> exception.log files (viewable in the CF Administrator) mention a couple of
> errors that occurred earlier in the day but are silent on this one.
>
> Finally, the Javascript function where the error occurs - AddTranscript()
> - runs with no problems when it's run by clicking a button in the page
> (which populateTx.cfm puts into the getTx cflayoutarea regardless of
> whether it finds data). But when it's called via the ajaxOnLoad, I see a
> little alert window which I put inside the function saying 'Now in
> AddTranscript', but then boom: the error window described above.
>
> Everything was working fine before I parameterized AddTranscript() today
> (there's a separate transcript-like creature that it must also deal with),
> and before I switched to Firefox-appropriate code. Why does it work in this
> circumstance, but not when it is called via ajaxOnLoad? I changed nothing
> about the ajaxOnLoad process, which was working earlier.
>
> Any suggestions?
>
> Sorry for this long note if there's a simpler answer without having to
> read all the above!
>
> Peyton
>
>
>
>
> -------------------------------------------------------------
> Annual Sponsor FigLeaf Software - http://www.figleaf.com
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by http://www.fusionlink.com
> -------------------------------------------------------------
>
>
>
>


-- 
Steven Ross
web application & interface developer
http://blog.stevensross.com
[mobile] 404-488-4364 [fax] 267-482-4364
[ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]



-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to