hi am having a small javascript trouble here pliz help out
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<!-- help out pliz -->
<!-- i need javasript that wil return true when the code 12345 is entered in the input field and place an image accept.gif in the div id =jim3 or false if any other chaaracter is input and show an image denied.gif in div id=jim3 with an error allert box -->
<!-- -->
<title>javascript demo</title>
</head>
<body>
<div id=jim2 >
<form name=test id=jim action="">
enter code <br>
<input type="text" id=jim1> <br>
<input name="jim4" type="button" value="press to continue">
</form>
<div id=jim3>
</div>
</form>
</div>
</body>
</html>