Home | w3Schools.com | Dojo Toolkit Previous | Next

First Dojo function (2) NO CACHE

dojo.byId() provides the same functionality as:
document.getElementById()
Excepts it is much shorter..

Show HTML code [show_html()] | Reload page [window.location.reload()] |

The java script to do this is:
dojo.byId('htmlTextBox').value = dojo.byId('text_group').innerHTML;