APEX-AT-WORK no image

Access inner HTML/child elements

Von Tobias Arnhold 6.02.2010
Sometimes when I worked with Reports and special HTML objects I came across the problem to access different in-line html elements by javascript.

This link provides really useful know how about the access of DOM elements:

http://www.javascriptkit.com/javatutors/dom2.shtml


Some javascript alertbox examples:
alert(document.getElementById(col_rownum).childNodes[1].value);
alert(document.getElementById(col_rownum).firstChild.innerHTML);

If one of you know even better documentation. Just add a comment.

Post Tags: