Submit name value pair from javascript?

后端 未结 5 1986
鱼传尺愫
鱼传尺愫 2021-01-23 23:30

Can JS submit name/vale pairs through a document.testform.submit(); ? or does it have to be submitted through the html tags, for example



        
5条回答
  •  情话喂你
    2021-01-24 00:08

    Typically you include an in the form, and set the value you want in the event handler before it gets submitted.

提交回复
热议问题