I have a password input box:
Code:
<input type="password" class="text hidden_pass" value="Password" title="Password" name="pass" />
the javascript file that loads has this command which loads when the page loads
Code:
// focus password file if we routed through the purchase confirmation
curfile=location.href;
purch_check=curfile.indexOf('purchase-confirmation');
if (purch_check>-1){
$(".text hidden_pass").focus();
}
This is not showing the password dots when the page loads. When I click the input box manually after the page loads, you see the dots. I want the user to see those automatically without having to cllick.
purch_check is coming back as 44 when the page loads, so that if statement is firing.
the password field is in a file called header.js and the main page is purchase confirm.html.