Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Get a element by id in Alloy of a file XML from differents "js"

$
0
0

Hi,

I have the following question. I want get a element by id in Alloy of a file XML from differents "js". For example:

My.XML

<Alloy> <Label id=label_id ></Label> </Alloy>

My.js

----

Other.js

$.lable_id.setText("Text")

This don't work. How can get this label from any file "js"?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>