Placeholder Values
-
Firstly, thanks for the plugin.
I’ve been trying to figure out how to add placeholder values to the login boxes, so I can remove the labels and save myself a bit of room. After digging for several hours, I found the following section of the sidebar-login.js file:
var data = { action: 'sidebar_login_process', security: sidebar_login_params.login_nonce, user_login: jQuery('input[name="log"]', thisform).val(), user_password: jQuery('input[name="pwd"]', thisform).val(), remember: remember, redirect_to: jQuery('input[name="redirect_to"]', thisform).val()
I’d like to add a placeholder=”Username” and placeholder=”Password” to the html, but my grasp of JS is tenuous at best.
If you (or anyone else) can point me in the right direction I’d appreciate it.
Regards,
Jim
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Placeholder Values’ is closed to new replies.