I know a lot of you in the community use ActivEdit (or *built* ActivEdit, as the case may be), and thought I'd try my luck in finding the answer to a pesky issue I'm having.
I am writing a page that has multiple ActivEdits on the page stored in DIVs. All of the DIVs that hold the AEs are hidden on the onload of the page. By the time the user submits the form, these DIVs may remain hidden.
I am getting the following Javascript error in IE6 (not Firefox) when I submit my form:
Unexpected call to method or property access
My debugger tells me it's choking on this line in the onBeforeSave routine defined by AE:
for (var i=0;i<aeObject.DOM.images.length;i++) {
specifically on the aeObject.DOM.images.length part (aeObject exists, but aeObject.DOM returns "error"). I am submitting the form through the onSubmit call, and thusly calling ae_onSubmit() before I actually submit, as AE has instructed me to do.
The page chokes onSubmit only the *first* time that I try to do it. That is, I hit the submit button, it dies, but submits my page anyway. I hit the back button, refresh the page, fill in data from scratch, and hit submit again. It works fine. No error.
Thoughts? Any help would be appreciated.
-Robyn
P.S., I've searched the CFDev forums and even posted there, but the forums don't seem to be all that active, so thought I"d try my luck here... Hope you don't mind!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67
If you would like to report an abuse of our service, such as a spam message, please . Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .