Posted By

Piotrek290 on 01/17/11


Tagged

javascript android


Versions (?)

JS like Java Android


 / Published in: JavaScript
 

  1. var R = {
  2. layout : {
  3. findById : function(string){
  4. return document.getElementById(string);
  5. }
  6. }
  7. };
  8.  
  9. /* Example */
  10. var Element;
  11.  
  12. Element = R.layout.findById('text');

Report this snippet  

You need to login to post a comment.