Jquery href with hash

Posted by Ramesh on Stack Overflow See other posts from Stack Overflow or by Ramesh
Published on 2010-06-10T05:32:54Z Indexed on 2010/06/10 5:42 UTC
Read the original article Hit count: 508

Filed under:
|

Hi, i am using tis code for tab navigation.

function hashIt(toHash) {
    toHash == "" 
     ? window.location.hash = window.location.hash.replace( /#.*/, "") 
     : window.location.hash = toHash;
    return false;
}

and also i am using jquery popup on page onload. a hyperlink in the popup is not working, if i remove the hashIt function its fine. but i want both. Please help me out.

Ramesh.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html