Internet Explorer

From NSB App Studio
Revision as of 18:08, 15 March 2013 by Ghenne (talk | contribs) (Created page with "AppStudio does not officially support Internet Explorer. AppStudio uses WebKit for some of its controls, which IE does not support, and not all the needed HTML5 features which...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

AppStudio does not officially support Internet Explorer. AppStudio uses WebKit for some of its controls, which IE does not support, and not all the needed HTML5 features which are required have been implemented in IE.

However, many apps will still run in Internet Explorer. In this article, we will cover some tips to make it easier to run AppStudio apps in IE.

Defining Controls

Chrome and Safari allow controls to be referred to directly by their name. For example, TextBox1.value. Internet Explorer requires that you use the following expression instead:

 document.getElementById("TextBox1").value

You can get around this be defining TextBox1 in the beginning of your code:

txtUnits=document.getElementById("txtUnits")
txtSerialNumber=document.getElementById("txtSerialNumber")
TextArea1=document.getElementById("TextArea1")
radProduct_1=document.getElementById("radProduct_1")
radProduct_2=document.getElementById("radProduct_2")
radProduct_3=document.getElementById("radProduct_3")
radProduct_4=document.getElementById("radProduct_4")
radProduct_5=document.getElementById("radProduct_5")