Jump to content

How call unigui controls in javascript


Recommended Posts

I create form with panel with label. Label on panel panel on form. I think in javascript need call like


var txt = MyForm.MyPanel.MyLabel.text;

alert(txt) ;


But in fierbug i see MyLabel is a child of MyForm and call must be


var txt = MyForm.MyLabel.text;

alert(txt) ;


What kind of call rooles? Or i need call

var obj = document.getElementById(MyForm.MyLabel.id);

var txt =obj.text;



Thanks of all.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...