How to check if input=”text” value is not NULL and then move to page?
<input TYPE="text" name="textbox2" align="center">
........
function HomeButton()
{
<!--if textbox1 value and textbox2 value not null-->
location.href="registration.html";
}
Just check that both their values are truthy.
Of course, you can make things easier by giving them
ids:and
for example.