COGNOS with JQUERY

While working on creating custom navigation in COGNOS, we tried to use Jquery to do the client side rendering of the menu, but Jquery just wont work with COGNOS Javascript.

This was because javascript was conflicting with COGNOS js scripts and below is a quick fix.

Put the below code in your HTML code.

var $x = jQuery.noConflict();
$x(document).ready(function () {
//$x(“”);
});
All your jquery manipulation needs to use “$x” as prefix.

Hope this helps!

Advertisement

About Chintan Jajal
.Net Application Architect..

One Response to COGNOS with JQUERY

  1. ran says:

    Excellent Cognos and jQuery tutorial:
    http://jquerycognosintegration.blogspot.com/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.