当前位置:网站首页>Dynamically create and submit forms
Dynamically create and submit forms
2022-06-12 08:36:00 【Month to month better】
Create a dynamic form Forms , Pass parameters to backend
<button onclick="go()"> Click on </button>
<script>
function go() {
var form = document.createElement("form");
form.action = "https://abc.com/auth/sign";
form.method = "post";
var input = document.createElement("input");
input.type = "hidden";
input.name = "aa";
input.value = "bb";
form.appendChild(input);
document.body.appendChild(form).submit();
}
</script>
边栏推荐
- Where does the driving force of MES system come from? What problems should be paid attention to in model selection?
- What is the beauty of MES equipment management for enterprises?
- 【进阶指针二】数组传参&指针传参&函数指针&函数指针数组&回调函数
- Callback webrtc underlying logs to the application layer
- (p17-p18) define the basic type and function pointer alias by using, and define the alias for the template by using and typedef
- Audio and video related links
- R loop assignment variable name
- 安科瑞电动机保护器具有过载反时限、过载定时限、接地、起动超时、漏电、欠载、断相、堵转等功能
- FDA审查人员称Moderna COVID疫苗对5岁以下儿童安全有效
- 了结非对称密钥
猜你喜欢

工厂的生产效益,MES系统如何提供?

The residual pressure monitoring system ensures the smoothness of the fire evacuation passage in case of fire, and protects the safe operation of large high-rise buildings and the safety of people's l

电气火灾探测器对各用电回路进行实时监控

(p17-p18) define the basic type and function pointer alias by using, and define the alias for the template by using and typedef

Hands on deep learning -- weight decay and code implementation

ctfshow web3
![[new planning]](/img/8e/0e15e0f3ee08002eaceea1fe8948ec.jpg)
[new planning]

Py & go programming skills: logic control to avoid if else

Centso8 installing mysql8.0 (Part 2)

Hands on deep learning -- concise implementation code of weight decay
随机推荐
【进阶指针一】字符数组&数组指针&指针数组
Error: ER_ NOT_ SUPPORTED_ AUTH_ MODE: Client does not support authentication protocol requested ... ...
Website colab and kaggle
MYSQL中的调用存储过程,变量的定义,
只把MES当做工具?看来你错过了最重要的东西
MPLS的原理与配置
Audio and video engineer (Preliminary) (I) basic concepts of audio and video
You have an error in your SQL syntax; use near ‘and title=‘xxx‘‘ at line 5
Specify 404 and 500 error reporting pages.
Model compression | tip 2022 - Distillation position adaptation: spot adaptive knowledge distillation
Special notes on using NAT mode in VM virtual machine
(p17-p18) define the basic type and function pointer alias by using, and define the alias for the template by using and typedef
【数据存储】浮点型数据在内存中的存储
JVM学习笔记:三 本地方法接口、执行引擎
(p25-p26) three details of non range based for loop and range based for loop
动态创建表单并提交
Hands on deep learning -- activation function and code implementation of multi-layer perceptron
APS软件有哪些排程规则?有何异常处理方案?
正则校验用户名
【指针进阶三】实现C语言快排函数qsort&回调函数