Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to find the htmlb ID of the elements in javascript

HI All,

I have to create a JSPDynPage with a simple textview and 2 buttons....

1). I have a javascript function which has to be called once the page is successfully plain HTML this can be done using the onLoad attribute of the BODY can we do this using HTMLB?

2).Also how can we catch the htmlb elements we created in our forms in plain HTML we can do this using document.getElementById...but when i used the same code in my javascript function it is returning null...i mean it is not able to find the htmlb element with the given id but the the htmlb element is there in my htmlb to catch the htmlb id of any elemnt in javascript?




Former Member
Not what you were looking for? View more on this topic or Ask a question