If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

How to use jQuery in custom login screen?

Started by EarthDog, 24 Sep 2013 05:58:47 AM

Previous topic - Next topic

EarthDog

I need to use jquery in a custom login form that i am creating but i cant find a way to do it.

I have tried including the script tag but nothing happens:

<script src="/cognos/ps/login/jquery-2.0.3.min.js"></script>

I can successfully include custom css in the login xhtml page but javascript of any kind.

Standard javascript works though.

EarthDog

I also tried this:

<script>
    document.body.appendChild(document.createElement("script")).setAttribute("src","http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js")
</script>


but no effect.

Does anyone know how the login html is being build?

If i do a view page source there are a lot of things that i dont have in my xhtml..

Grim

#2
If you want to customize the login page there are Proven Practice articles for that.

See here:
http://www.ibm.com/developerworks/data/library/cognos/security/cognos_bi_platform/page546.html

"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)

EarthDog

Yeap i have been reading all these, BUT i will have to use standard Javascript in order to do anything i want.

Currently i am using standard javascript but i want to use jQuery for more complex situation , and i dont want to write pages of std js...

If someone knows how the login page is "generated" would be of great help...