|
Posted by David Dorward on 06/18/05 12:15
Cranio wrote:
> I have an ASP-generated code that spits out a form.
>
> This form contains links like:
>
> <A HREF="#"
Don't do that.
'<a href="something.html" onclick="somefunction();
return false"> where something.html is meaningful
to the non-javascript capable'
-- http://jibbering.com/faq/#FAQ4_24
> onClick=".......;submit()">
So it does something, then it calls a function called submit(). It obviously
isn't calling the submit method of the form, and there isn't such an
internal function, so it must be defined elsewhere in your code. (And as I
can't see it ...)
> My goal is to force a Form submit, thereby passing
> also the QueryString values.
Use a submit button then. You can always style it as a link if you really
want to, but things that look like links say "visit a page" to the user,
things that look like submit buttons say "send this form data somewhere",
so it probably isn't a very good idea.
> In IE and Netscape it works fine..
Netscape 4.x?
Netscape 6+? (Which IS Mozilla with minor modifications)
Netscape 8? In Firefox mode or Internet Explorer mode?
> Firefox though doesn't do anything!
What about Opera and Safari/Konqueror?
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|