![]() |
Javascript in Register Hooks
I am trying to add a javascript to run during user registration. I need to run it once for each registration page that comes up. Looking at how things work, it appears that the best thing to do would be to use the plugin hooks and add code there. In reading about using hooks, it states that only php code is allowed.
So, is there a way to code the javascript inside the php code? Or is plugins the wrong way to do this, and if so how can I accomplish this? Thanks for any help! |
In your plugin, use:
PHP Code:
|
Thank you. That worked!
|
All times are GMT. The time now is 02:40 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|