Savas Ates wrote:
<form action="a.asp" method="get" >
<input type="image" border="0" src="IMAGES/oklar.jpg">
</form>
im usnig this codes to submit form when a user click on oklar.jpg(an image)
.. but it submits form ***a.asp?x=6&y=8*** like this.. x and y takes
randomize values... how can i remove x and y variables from my string... if
it cant be possible how can submit a form when a user click my image file...
These are not random values but the click coordinates. If you want to
submit the form data use
<input type="submit">
If you need an image there are some choices, with JavaScript
<form name="formName" ...>
...
<a href="#"
onclick="document.forms.formName.submit(); return false;"><img
border="0" src="IMAGES/oklar.jpg" alt="submit"></a>
or in modern browsers
<button type="submit"><img border="0" src="IMAGES/oklar.jpg"
alt="submit"></button>
--
Martin Honnen
http://JavaScript.FAQTs.com/