O'Reilly logo

haXe 2 by Benjamin Dasnois

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required