Hi All,
I am new to Cognos Analytics 11.1 and I created report with around 6 different Search & Select prompts.I need to resize the Search & select prompt default size,I try with the below script,but not working.
html 1 (before the prompt):
<div id="MyPrompt">
html 2 (after the prompt):
<script type="text/javascript">
setTimeout(function(){
var e=document.getElementById('MyPrompt');
var block1 = e.getElementsByTagName('select')[0];
block1.style.width='250';
var block2 = e.getElementsByTagName('select')[1];
block2.style.width='250';
},100);
</script>
Could please anyone help me on this.
Thanks,
Ravikanth
------------------------------
Ravikanth Edupuganti
------------------------------
#CognosAnalyticswithWatson