se los agradezco de antemano.
Código:
Salud2! forms : function(){ var login = function(){ var user = $(this).children('form').children('input[type="text"]').val(); var pass = $(this).children('form').children('input[type="password"]').val(); if(user.length < 1 || pass.length < 1){ alert('Invalid!\nPlease fill all required forms'); } else { alert('usernamge: '+user+'\npassword: '+pass); $.fallr('hide'); } } $.fallr('show', { icon : 'secure', width : '520px', content : '<h4>Iniciar sesion!</h4>' + '<form action="pepe.php" method="post">' + '<input placeholder="username" type="text"/'+'>' + '<input placeholder="password" type="password"/'+'>' + '</form>', buttons : { button1 : {text: 'Entrar', onclick: login}, button4 : {text: 'Cancelar', danger: true} } }); },