I have no idea why this doesn't work in MSIE. Is it because I'm trying to populate and submit the form from a text link?
Ideas?
Code:
<head>
...
<script type="text/javascript" language="javascript">
/**
* submit the GET request through the filter form
**/
function filterById(emailId) {
var ldf = document.LogDetailForm;
if(emailId >= 0) {
ldf.emailId.value = emailId;
ldf.submit();
}
}
</script>
</head>
<body>
...
<form name="LogDetailForm" method="POST" action="/strutsWeb/messageLevel.do">
Limited to Email Id: <input type="text" name="emailId" value=""><br />
<input type="submit" name="Filter" value="Show Actions">
</form>
...
<a href="javascript: void();" onclick="filterById('123');">123</a>
Ideas?