View Single Post
  #17  
Old 09-02-2011, 07:54 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
OK, another minor thing I need assistance with. I want to change the Multi Line text whenever I select a row and display text according to the class (row) selected. So, for instance...
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
this.archerdesc "Description for archer";
  if (
Class_TextList1.selectedrowid == 1) {
    
Class_MultiLine1.text this.archerdesc;
  }

But obviously there is no such thing as...
PHP Code:
if (Class_TextList1.selectedrowid == 1) { 
So how would I detect if a certain row is selected (ID, Text) and display the appropriate text?
Many thanks if you help.
__________________
Reply With Quote