

So when the button is clicked, it will show an alert message with that string. Now, let’s place some code inside the event handler, something like

What you get is an event handler, written in Javascript, offering you the opportunity to write Javascript code to be executed when the Button is clicked. Let’s place a Button on the designer and double click it to see what happens: No PHP knowledge is required to use this type of modules.Īlso, the Object Inspector only shows two tabs, Properties and Events, no more Javascript tab, because in a Client Page, the events are always Javascript events.Īnd finally, on the context switcher, you get a new context, called Template.Īpart from that, the module looks very similar to a Server Page. js, that means that now, the language you have to use to write your code should be Javascript. When you create a new Client Page, you are presented with a new module called “unit1.js”, note the extension is. Switch to the HTML5 Builder Projects category and create a new Client Web Application, you will get a new project created with a Client Page.

Let’s focus on the Client Page, as the Client Mobile Page is very similar. You have two types of Client Pages, one for web applications, and another one, for mobile applications. One of the new features of HTML5 Builder, is named Client Pages.
