This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Enviromental variables in event methods

alex - Monday, January 26, 2009 9:23 AM:

Hello,

I'm just playing a bit with events. I have put a button on a form and now I want to write some action code.

I created a client-side javascript method for the "onclick" event.

1.) Which enviromental variables are there available?

2.) How can I access the elements on the form on which I placed my button

3.) How can I access the item that belongs to the form (the form displays the properties of the item)

 Thx

 

Alex 



mbeaulieu - Thursday, February 26, 2009 1:18 PM:

http://www.aras.com/support/documentation/9.0.2/Other%20Documents/Aras%20Innovator%209.0%20-%20Programmers%20Guide.pdf

This is a link to the programmers guide. Section 4.5 explains the client event model an context items.

HTML elements on the forms can be accessed using the IE Dom and functions like getElementByID, getElementByName, etc