Welcome! Log In Create A New Profile

Advanced

Object for displaying text within a table?

Posted by vbiljja1 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Object for displaying text within a table?
May 07, 2012 09:59PM
I have a table with buttons in column 1, one image in column 2 and a paragraph of text in column 3. When a button is clicked the image and text should change. I managed the image change but battle to find the appropriate object to use for displaying the text so that it can be changed on click. Any suggestions or an example would be appreciated.
avatar Re: Object for displaying text within a table?
May 07, 2012 11:29PM
Hi ,
You can put your text in the
Language: HTML
<label name="mylabel"> asdasd </label>
Then use JS :
Language: Javascript
document.getelementbyid(';mylabel';).text := "new text";
Sorry, you do not have permission to post/reply in this forum.