Hi i have two scripts... a both of scripts ( login, register ) a both scripts are ok with normal browsers ( chrome , mozila .... ) buth with IE is ok just one script... register.... do you know why? u can try it on my page: login: http://trki.sk/index.php?clanok=login and register :http://trki.sk/index.php?clanok=register

here are scripts:

Code:
$(document).ready(function(){
	
	$('#regForm').submit(function(e) {

		register();
		e.preventDefault();
		
	});
	
});


function register()
{
	hideshow('loading',1);
	error(0);

	
	$.ajax({
		type: "POST",
		url: "registracia_script.php",
		data: $('#regForm').serialize(),
		dataType: "json",
		success: function(msg){
			
			if(parseInt(msg.status)==1)
			{

		  //   registered(1,msg.txt);
		      window.location=msg.txt;
 
		
			}
			else if(parseInt(msg.status)==0)
			{
				error(1,msg.txt);
			}
			
			hideshow('loading',0);
		}
	});

}  


$(document).ready(function(){
	
	$('#login').submit(function(b) {

		login();
		b.preventDefault();
		
	});
	
});


function login()
{
	hideshow('loading',1);
	error(0);

	
	$.ajax({
		type: "POST",
		url: "login_script.php",
		data: $('#login').serialize(),
		dataType: "json",
		success: function(msg_login){
			
			if(parseInt(msg_login.status)==1)
			{

		  //   registered(1,msg.txt);
		      window.location=msg_login.txt;
 
		
			}
			else if(parseInt(msg_login.status)==0)
			{
				error(1,msg_login.txt_login);
			}
			
			hideshow('loading',0);
		}
	});

}
i dont understand why login is not working and the register is working ( in IE ) anyways are working both in other browsers

and the html code for login:

Code:
    <form action="login_script" method="post" name="login" id="login">
register:

Code:
<form id="regForm" action="registracia_script.php" method="POST">
if somebody know answer i will be happy... i tried edit variables how u can see from msg to msg_login but... :/