[jQuery] jQuery Form Plugin Action with "#"
Hi,
I'm using the ajaxSubmit() function to submit a form which has
action="index.php#content_jump". The requested URL will be something
like "index.php#content_jump?foo=bar&bar=baz" - which is an invalid
URL.
For the moment I monkeypatched the source to remove the "named
anchor" (line 59 of jquery.form.js):
url: this.attr('action').replace(/#.*$/, '') ||
window.location.toString(),
It works, but I am not very happy with it. Is there another way or am
I doing something wrong? Or did I found a bug? ;-)
Dominik