PDA

View Full Version : Wrute our JS code



sujubala14
6 Dec 2011, 12:21 AM
How to write JS code in my application? then how to insert the radio button, combo box in my application also how to access these properties such as mouse events.please help me:D

arnebech
6 Dec 2011, 7:39 AM
If you want to include js, you have a couple of different options. You can use any of the built in events, such as click actions and scene actions to add custom js. If you want to include js on the page generally, you can use Project->Head HTML to paste some inline code or refer to an external script.

As for form elements, I would suggest using your js to insert the form. Alternative, you could edit the exported file, but that would be rewritten every time you export the project.