Thursday, 25 April 2013

Hide List or Crosstab using Jquery

Hi Guys ,

Below is the sample script to use .For more details on using jquery with Cognos please go through my other post which gives you the basics

My best explaination on jquery below link

Cognossimplified Jquery

Basic steps 

1) create a list 
2) Take 2 html items one at starting of list and one at ending of list 

You can refer to IBM site 

http://www.ibm.com/developerworks/library/ba-pp-reporting-advanced-report-design-page647/



<form>
<input type="radio" id ="list" name="sex" value="male">List
<input type="radio" id ="Crosstab" name="sex" value="female">Crosstab
</form>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
<script>

var bb = jQuery.noConflict();

bb(document).ready(function(){
      bb("#list").click(function(){
      alert();

bb("#abc").toggle();


  });
});
</script>








No comments:

Post a Comment