[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    khtml 3.4 javascript submit() problem
From:       Joe Buehler <aspam () cox ! net>
Date:       2005-03-30 15:04:21
Message-ID: 424ABFF5.7030003 () cox ! net
[Download RAW message or body]

I have a C++ app linked against khtml that uses javascript to
interact with the loaded page.  In 3.3.2 something like this
works fine on the page of interest:

top.document.getElementsByTagName('body')[0].childNodes(10).childNodes(0).childNodes(1).childNodes(0).childNodes(1).submit();


In 3.4 it does nothing.  A couple previous javascript statements that 
fill in the form being submitted work fine, it's just that submit()
on the form does nothing.  Interestingly, if I manually click on
the submit button on the form it does nothing also.  Yet the page
works fine in Konqueror.

Was there an API change in khtml 3.4 that I need to be aware of?

Joe Buehler
 
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic