Internet Explorer: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
(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...")
 
(Blanked the page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
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:
<pre>
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")
</pre>

Latest revision as of 20:42, 17 April 2015