hello dears friends develppers.
i have posted similar question but i didn't get solution and i tryed diferent way but nothing done and decide to comme back, anyway.
i have a div
with id
login-box
inside i have login form.
i get a jquery tutorial and i made it popup to open the popup i have i link in page like this <a href="#login-box" class="login-window">Login / Sign In</a></p>
but what i want is open it when user try to submit and he is not loginfor it i placed a javascript form validation:
function showloginbox()
{
var client=document.forms["formulaireajout"]["client"].value;
if (client==null || client=="")
{
window.location = "#login-box";
return false;
}
}
</script>
but on the search bar i get something like this www.domain.com/page.php#login-box
login-box don't apear help please.