title: Cannot access table contents in siebel open ui
body: <p>I am trying to implement a particular code in Siebel Open UI which access the attribute value of a particular column from a table. The same code when I run in the console I am getting the desired value. But when implemented inside the PR file I am getting the attribute value as undefined. The following is my code:</p>
  
  <pre><code>  TilesPR.prototype.ShowUI = function()
  
      {
         console.log("Inside show ui");
         SiebelAppFacade.TilesPR.superclass.ShowUI.call( this );
         var pm = this.GetPM();
         var placeholder= pm.Get( "GetFullId" );
         console.log('The fullId is '+placeholder);
         var table_id=placeholder.split('A')
         console.log('The table_id is '+table_id[1]);
         var table_string='s_'+table_id[1]+'_l';
         console.log("The table_string value is "+table_string);
           $('#'+table_string).css('border','2px solid black');//This code works
          var i=0;
          $('#'+table_string+' tbody tr').each(function()
          {
          console.log("Inside the function");
          i++;
          var x=i+'Account_Status';
          console.log(x);
          $('#'+x).attr('name');
          var valuee= $('#'+x).attr('name');
          console.log(valuee);//Gives me undefined all the time
  
          });
  
      };
  </code></pre>
  
  <p>Can somebody please help me with the situation?Thanks in advance</p>