Developers
AvantGo Channel Developer Guide

TOC PREV NEXT INDEX


The Document Object Model (DOM)

The AvantGo Client supports the full DOM for its channels. However, that being said, we currently strip out any assignment operations on our consumer service. This was done for security reasons, and we know it is a tad harsh. In the future, you can expect these restrictions to be relaxed and you will be able make better use of the DOM in most situations. For the time being, however, you will really only find the DOM useful when writing document.forms[0].submitForm types of functions.

Q: Can we define our own functions?

A: No.

Q: Can we use an <a href="javascript: blah"> tag?

A: No. Note, however, that you can simulate many javascript functions by including a normal <a href="..."> to a PODS URL.

For example, <a href="pods://avantgo/home">Home</a> will take the user back to the AvantGo home page.



TOC PREV NEXT INDEX