Purchase your Section 508 Compliance Support guide now!

Purchase your Section 508 Compliance Support guide now!

Cognos 8 -- set tab order javascript

script
function check(id)
{
var _obj=document.getElementById(id).attributes;
for(var j=0;j<_obj.length;j++)
{
if(_obj[j].nodeName=="tabindex")
var _str="ID of "+id+" has a tabindex of "+_obj[j].nodeValue;
document.getElementById(id).value=_str;
//alert(_str); /* if you want an alert uncomment */
}
}
/script