Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 1 of 1 total
Thread EWB and DOM
Thu, Jul 4 2024 6:31 PMPermanent Link

erickengelke

Avatar

EWB is great in that it give.a VCL-like access to web development thta greatly speeds development.  

But sometimes you have to interfaace with other people's libraries or HTML or examples, or extend EWB.

In those cases, it's handy to know about HTMLCSS and the DOM, the very thing EWB hides so well.  It's also handy for exploring how EWB works.

I found a nice tutorial on the DOM at:
https://morioh.com/a/0e07eea817f9/master-dom-javascript-or-javascript-dom-manipulation

I'll give you a few more hints:
- To set the ID of an Element in EWB, set it's ClientID to a unique string.   
- Note that closing the window does not eliiminate the element, just hides it, so be sure to Free forms when you are done with them.
- window.getElementByID() is very useful

Happy exploring.

Erick
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Image