form with no action, where it submits to? can firebug tell me this?

10 views
Skip to first unread message

Petruza

unread,
Oct 6, 2008, 2:53:14 PM10/6/08
to Firebug
Hi, I'm inspecting a page that has a form with no action.
it has a onSubmit, but all it does is "document.formname.submit();"
it's a HTML, so unless it has a weird mod_rewrite thing going around,
I don't think it submits to itself.
Any clue?
Can I debug it and find where is the submit going, with firebug?
Thanks!

Mark Kahn

unread,
Oct 6, 2008, 3:02:03 PM10/6/08
to fir...@googlegroups.com
look at the XHR that has a POST value after you submit the form.  By default, forms submit back to the same URI.

-Mark

Petruza

unread,
Oct 7, 2008, 9:39:07 AM10/7/08
to Firebug
That would be good, but there's no XHR call anywhere! and there
aren't .js scripts linked... it's really strange.
In case anyone wants to give it a peep, it's here: http://www.nic.ar/consdom.html
It's the Argentine NIC page where you lookup .ar domains.

Jan Odvarko

unread,
Oct 7, 2008, 10:21:05 AM10/7/08
to Firebug
What version of Firebug do you use?

I have tested the page with latest version (see http://getfirebug.com/releases/firebug/1.3/)
and after submit I see four GET and one POST requests in the Net
panel.

Honza

Petruza

unread,
Oct 7, 2008, 4:13:02 PM10/7/08
to Firebug
Sorry, I hadn't try the Net Panel.
Thanks!

On Oct 7, 11:21 am, Jan Odvarko <odva...@gmail.com> wrote:
> What version of Firebug do you use?
>
> I have tested the page with latest version (seehttp://getfirebug.com/releases/firebug/1.3/)
Reply all
Reply to author
Forward
0 new messages