Jump to content
Sign in to follow this  
jlei

Accessing TableElement

Recommended Posts

jlei

I have this navigation that on click of a row in a table loads another page in a separate iframe. Basically its defined as a <thead> containing all the onmouse events, and a <tbody> for the events to work on.

each <tr> has an ID, but the function _IEGetObjByName returns an error:

==> Variable must be of type "Object".:

Is there anyway to make that function more granular and select table elements? Or even some implementation of a _TableElementGetXXX like the FormElementGetXXX series?

Edited by jlei

Share this post


Link to post
Share on other sites
big_daddy

Without seeing the code you used to get that error, my best guess is that you are not passing an application object for the first parameter of _IEGetObjByName(). The only other problem you may encounter is with the iframes. If the elements you are trying to get reference to are within an iframe you will need to get a reference to the iframe first.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.