Chapter 11. A Dynamic Website Using JavaScript

Extensive use of JavaScript.

If you create a website using haXe, then you will certainly want to use some JavaScript in it. To do this requires some experience and can be achieved if you pay attention to some things.

We have learned many things about haXe. Well enough for you to use it daily and use it with ease day after day. In this chapter, we will put some things into practice and learn about how one can create a website using haXe/Javascript.

In this chapter, we will:

  • See what kind of caveats one has to avoid
  • Manipulate the DOM
  • Interface with the browser

After that, we will have an exercise.

Manipulating the DOM

While we will be able to use haXe to target JavaScript and create a website, haXe doesn't ...

Get haXe 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.