Hello!
im using Cognos 8.4.
I have a report with a search and select prompt.
So, i need that prompt start with a default search. Like this:
In the textbox of select and search prompt start with value "1" and click on search button.
I try to to this with javascript, but dont work. What i try is:
I create the prompt between a SPAN tag, and in the end of page a put a html item with this:
<script type="text/javascript">
var theDiv = document.getElementById("mySearchAndSelectSpan");
var node_list = theDiv.getElementsByTagName("promptSS");
alert(node_list.legth);
</script>
but always the legth is 0!