You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Learn about the new Oracle AI Agent Studio for Fusion Applications: Watch Now

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

HTML hyperlinks between LC pages: href vs. Javascript

edited Feb 22, 2018 10:29PM in Taleo Learn 7 comments

Summary

What advantages does a Javascript link have over a plain-old href link?

Content

Our LearnCenter has Single-sign-on authentication. We want to use hyperlinks on LearnCenter pages that do not cause the sign-on process to replay. The wrong hyperlink syntax will cause the sign-on process to replay all over again. 

We have two methods employed on our site. They both succeed in keeping the user signed on while opening the target page. We wonder what the relative advantage is to the Javascript call over the straight href hyperlink.

href Hyperlink
<a href="/learncenter.asp?id=!ldclcid!&amp;DCT=1&amp;sessionid=!ldcsessionid!&amp;page=nn"> 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!