-1
我想的JavaScript通过“ID” 现场看我的输入字段来读取输入,因为支付网关不允许在输入字段中添加名称想通过ID而不是按名称
formSelectors: {
numberInput: 'input[name="number"]',
expiryInput: 'input[name="expiry"]',
cvcInput: 'input[name="cvc"]',
nameInput: 'input[name="name"]';
}
'JavaScript进行实时读我输入字段由“id”'=>清除javascript或jQuery? –
这听起来像是[XY问题](https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem)。 – charlietfl