0
我想在Siebel Open UI中实现特定的代码,该代码访问表中特定列的属性值。当我在控制台中运行时,我得到的是相同的代码。但是当在PR文件中实现时,我将属性值设置为undefined。下面是我的代码:无法访问siebel中的表内容打开UI
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
});
};
有人可以请帮助我的情况在此先感谢