Internet explorer login form issue


#1

I unfortunately need to get our user system working for internet explorer for a project.

On all browsers the login system works fine. Though on all forms of internet explorer the url is changing which is giving a wrong page error.

This is the javascript I am using to get the login details:

Template.login.events({

'submit #login-form': function(evt) {
	evt.preventDefault();
	var username = $('#login-email').val();
	var password = $('#login-password').val();
	Meteor.loginWithPassword(username, password, function(error) {
		Bert.alert( error.toString() , 'danger', 'growl-top-right' );
	});
},

'click #reset-form-show-button': function(evt){
	if($("#reset-form-show-button").val() == "Back to login form"){
		$("#forgot-password-container").addClass('hidden');
		$("#login-form").removeClass('hidden');
		$("#reset-form-show-button").val("Reset password");
	}else{
		$("#forgot-password-container").removeClass('hidden');
		$("#login-form").addClass('hidden');
		$("#reset-form-show-button").val("Back to login form");
	}
}

})

The html for the login form is as follows:

<form id="login-form" method="post" action="action">
	<fieldset class="loginfield">
		<input type="text" id="login-email" class="form-control"  placeholder="User name/email"/>
		<br>
		<input type="password" class="form-control"  id="login-password" placeholder="Password"/>
		<br>
		<input type="submit" class="button1 buttonsmall" id="login-button" value="Log In"/><br>
		<br>
		<div id="loginerror" class="log-reg-error"></div>
	</fieldset>
</form>

When the form is completed on IE /action is added to the url and if action=“action” is changed to action="" then the page refreshes back on the login screen. We are using Iroun:router for the page system if that helps.

I can’t find any reason for this can someone please help.