Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("input[name='enviar_login']").click(function(){
- var datos = $(".formulario_login").serialize();
- $.ajax({
- method:"POST",
- url:"http://g-t-e.260mb.net/login/login.php",
- data:datos,
- success:function(result){
- if (result=="") {
- $(".login p").css({
- "background":"rgba(255,0,0,.2)",
- "border-radius":"10px 10px 0 0"
- });
- }else if(result!=""){
- $(location).attr("href","http://g-t-e.260mb.net/login/" + result);
- }
- }
- });
- return false;
- });
- $("input[name='enviar_login']").click(function(){
- var datos = $(".formulario_login").serialize();
- $.ajax({
- method:"POST",
- url:"http://g-t-e.260mb.net/login/login.php",
- data:datos,
- success:function(result){
- if (result=="") {
- $(".login p").css({
- "background":"rgba(255,0,0,.2)",
- "border-radius":"10px 10px 0 0"
- });
- }else if(result!=""){
- $(location).attr("href","http://g-t-e.260mb.net/login/" + result);
- }
- }
- });
- return false;
- });
Add Comment
Please, Sign In to add comment