How to avoid pre-moderation of my comments?
OT: ActivEdit and DHTML issue
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > ColdFusion > OT: ActivEdit and DHTML issue 22 February 2005 20:12:11

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

OT: ActivEdit and DHTML issue

Robyn 22 February 2005 20:12:11
 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.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:195889
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > ColdFusion > OT: ActivEdit and DHTML issue 22 February 2005 20:12:11

see also:
Exiting loop to higher level
Finding if a module is already…
Attracting Perl Project Team Members
pass tests:
How objective you are
see also:
baz-baz-baz-baz pam-parabaram baz-b...
Baz!!!XA XA ))

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .