Password field not showing

So I have the following amongst other fields in my register.html
input type=“password” id=“passwordReg” placeholder=""

When I call it from index.html I do the following:
var Remail = $$(’#email’).val();
var Rpassword = $$(’#passwordReg’).val();

The Remail variable is passed to the index.html, but not the password?

Any help out there please.

Ignore , have resolved