...

View Full Version : Help Me With Script



feras_wilson
08-09-2005, 12:36 PM
Hi!
I need help to this:
Why it deosn't work? :confused:
Code:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Ny sida 1</title>
<script>
function kk() {
location.href='Sida1.htm?ServerFilter=%22ID='+ myssferas.mmm.value +'%22'
}
</script>
</head>

<body>
<form name="myssferas">
<input type="text" size="24" name="mmm">
<input type="submit" value="Sök" onclick="kk()"></form>
</body>

</html>

martin_narg
08-09-2005, 12:50 PM
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Ny sida 1</title>
<script>
function kk() {
window.location = 'Sida1.htm?ServerFilter=%22ID='+ document.myssferas.mmm.value +'%22';
}
</script>
</head>

<body>
<form name="myssferas" onsubmit="kk();return false;">
<input type="text" size="24" name="mmm">
<input type="submit" value="Sök">
</form>
</body>
</html>


This should be what you are looking for, if you compare it to your original post, you will see the differences.

Hope this helps.

m_n



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum