【发布时间】:2017-07-14 12:02:12
【问题描述】:
我希望 javascript 通过“id”实时读取我的输入字段 因为支付网关不允许在输入字段中添加名称
formSelectors: {
numberInput: 'input[name="number"]',
expiryInput: 'input[name="expiry"]',
cvcInput: 'input[name="cvc"]',
nameInput: 'input[name="name"]';
}
【问题讨论】:
-
javascript live read my input field by "id"=>清除 javascript 或 jQuery? -
这听起来像是XY Problem。
标签: javascript php payment-gateway 2checkout