Help me with jquery code.
-
I wanna redirect my users to a custom page when they click on their display name and I have this code
$('#display_name_button_id').click(function(e) { e.preventDefault(); e.stopPropagation(); window.location = 'link-to-custom-page.html'; });
And I am a newbie. Anyone please tell me what to do with the code to make it work.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Help me with jquery code.’ is closed to new replies.