User Tools

Site Tools


tips_tricks:tip_its_javascript

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tips_tricks:tip_its_javascript [2014/09/21 15:16]
81.174.242.106 created
tips_tricks:tip_its_javascript [2014/10/13 23:57]
Line 1: Line 1:
-====== Tip - it's JavaScript ====== 
-There's something you want AndroidScript to do and you can't find out whether AndroidScript can do it. 
  
-Maybe you want to find the current time or date but the AndroidScript docs don't mention it. 
- 
-Remember, you are mostly using JavaScript. If JavaScript can do it, there's a good chance AndroidScript can do it. 
- 
-The number of times I've typed things like **javascript slice** into google is legion. I often end up at [[http://www.w3schools.com/js/default.asp|w3schools.com]] for my answer. 
- 
-If you look at js sample code, you may need to ignore the bit that tries to display it for you such as  
-    document.getElementById("demo").innerHTML = Date(); 
-and replace it with something from AndroidScript like 
-    txt.SetText( Date() ); 
-but you'll find lots of things JavaScript can do that are not specific to AndroidScript.  
tips_tricks/tip_its_javascript.txt ยท Last modified: 2014/10/13 23:57 (external edit)