Internet Explorer: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
(Blanked the page)
 
(One intermediate revision 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 to refer to TextBox1:
  document.getElementById("TextBox1").value
You can get around this be defining TextBox1 in the beginning of your code:
<pre>
TextBox1=document.getElementById("TextBox1")
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>
You can then do
  TextBox1.value="some text"

Latest revision as of 20:42, 17 April 2015