Hi Dominique, tks for the quickly responde, but, i try this, but this
don't result....
In this sample, i want run the event by onClick, i know that jQuery is
otherwise, but, to simulate the situation.....
here is the complet (almost) code
<script type="text/javascript"
src="http://code.jquery.com/jquery-latest.pack.js"></script>
<script>
$(document).ready(function() {
//select all the a tag with name equal to modal
$('#div_login').click(function(e) {
//Cancel the link behavior
e.preventDefault();
// show the window to login
});
});
</script>
</head>
<body>
<div id="boxes">
<div id="dialog1" class="window">
<div class="d-header">
<input type="text" value="username"
onclick="this.value=''"/><br/>
<input type="password" value="Password"
onclick="this.value=''"/>
</div>
<div class="d-blank"></div>
<div class="d-login"><input type="image" alt="Login"
title="Login" src="../imagenes/login-button.png"/></div>
</div>
<div id="mask"></div>
</div>
<input type=button id=boton value=LOGIN
onClick="$('#div_login').click()" >
</body>
</html>
Tks!!!
Gabriel