# NS\_BINDING\_ABORTED - why browser unexpectedly transform POST request to GET request

**URL:** <https://discourse.mozilla.org/t/ns-binding-aborted-why-browser-unexpectedly-transform-post-request-to-get-request/122848>\
**Category:** Firefox Development\
**Created:** [September 23, 2023, 11:30am UTC](https://discourse.mozilla.org/t/ns-binding-aborted-why-browser-unexpectedly-transform-post-request-to-get-request/122848 "2023-09-23T11:30:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kharkov275](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@kharkov275](https://discourse.mozilla.org/u/kharkov275)\
**Post date:** [September 23, 2023, 11:30am UTC](https://discourse.mozilla.org/t/ns-binding-aborted-why-browser-unexpectedly-transform-post-request-to-get-request/122848/1 "2023-09-23T11:30:42Z")

</div>

Currently I’m working with ancient ASP site (not [ASP.NET](http://ASP.NET)), I write very simple JS script for submitting form for Delete button and checkbox list. In that script I simple add one parameters and want to submit form to each marked checkbox.

```
   function frmsubmit()
     {
      ....
     for(i=0;i<len;i++)
     {
        if (document.frmdel.chklist[i].checked==true)
        {
            var subsid = document.frmdel.chklist[i].value;
            document.forms['frmdel'].action = "edit_grp.asp?grpdel=T&grp=<%=Request.QueryString("grp")%>&subsid=" + subsid + "&ShowAll=<%=ShowAll%>";   
            document.forms['frmdel'].method="post";
            document.forms['frmdel'].submit();
            return true;
        }
      } 

```

Also I have connected to debugger on server

 ![MyVillage-09222023_230635](https://us1.discourse-cdn.com/flex001/uploads/mozilla/original/3X/4/0/40fb17f8477cbd3db7b28bf8b2186471ec736ffa.png)

I expect a serials of postback depends how many records need to delete.  
But I see something understandable for me - browser abort my Post request and server receive GET request. Moreover, I have changed Form action, but browser always ignoring my changing on “document.forms[‘frmdel’]” and using URL from Browser Location.

Most interesting that time on time (I’m looking to this marvel half of day) Browser finally send correct POST record, in this case records marked by checkbox deleted. As a result I start with 20 records in this group, but currently has only 3, 17 records deleted for 3-4 hours, but I click more than 100 times.

I checking cache policy, but in any place what I know I see just NoCache.

What can a reason of this strange issue?

---

<div class="post-metadata">

**Author:** ![bjh](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/bjh/32/21802_2.png) [@bjh](https://discourse.mozilla.org/u/bjh)\
**Post date:** [September 24, 2023, 8:02pm UTC](https://discourse.mozilla.org/t/ns-binding-aborted-why-browser-unexpectedly-transform-post-request-to-get-request/122848/2 "2023-09-24T20:02:33Z")

</div>

You are changing the method of the form object, but you aren’t changing the HTML form. From the [MDN description of method](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form):

> This value is overridden by [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#formmethod) attributes on [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button), [`<input type="submit">`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/submit), or [`<input type="image">`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/image) elements.

This forum isn’t very active. I suggest using Matrix. [Matrix - MozillaWiki](https://wiki.mozilla.org/Matrix)

---

<div class="post-metadata">

**Author:** ![kharkov275](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@kharkov275](https://discourse.mozilla.org/u/kharkov275)\
**Post date:** [September 24, 2023, 9:20pm UTC](https://discourse.mozilla.org/t/ns-binding-aborted-why-browser-unexpectedly-transform-post-request-to-get-request/122848/3 "2023-09-24T21:20:47Z")

</div>

Ups, thank you, I understand reason of issue
