This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
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] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Tip - it's JavaScript ====== | ====== Tip - it's JavaScript ====== | ||
- | There' | + | There' |
- | Maybe you want to find the current time or date but the AndroidScript | + | Maybe you want to find the current time or date but the and DroidScript |
- | Remember, you are mostly using JavaScript. If JavaScript can do it, there' | + | Remember, you are mostly using JavaScript. If JavaScript can do it, there' |
The number of times I've typed things like **javascript slice** into google is legion. I often end up at [[http:// | The number of times I've typed things like **javascript slice** into google is legion. I often end up at [[http:// | ||
Line 10: | Line 10: | ||
If you look at js sample code, you may need to ignore the bit that tries to display it for you such as | 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(" | document.getElementById(" | ||
- | and replace it with something from AndroidScript | + | and replace it with something from DroidScript |
txt.SetText( Date() ); | txt.SetText( Date() ); | ||
- | but you'll find lots of things JavaScript can do that are not specific to AndroidScript. | + | but you'll find lots of things JavaScript can do that are not specific to DroidScript. |