我希望在onchange时将值文本框添加到另一个textboxt中 喜欢这个totorial但本教程保存值以提醒
$('#selector').change(function () {
alert($('#selector').val());
});

<input type="text" id="selector">
<input type="text" id="value">
&#13;
我想要像这样
我该怎么做?
答案 0 :(得分:1)
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="https://adcenter.microsoft.com/v8" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Header>
<wsdl:DeveloperToken>developer-token-goes-here</wsdl:DeveloperToken>
<wsdl:UserName>username-goes-here</wsdl:UserName>
<wsdl:Password>password-goes-here</wsdl:Password>
<wsdl:CustomerId>customer-id-goes-here</wsdl:CustomerId>
<wsdl:CustomerAccountId>account-id-goes-here</wsdl:CustomerAccountId>
</env:Header>
<env:Body>
<wsdl:GetAssignedQuotaRequest xmlns="https://adcenter.microsoft.com/v8" />
</env:Body>
</env:Envelope>
$('#selector').change(function () {
alert($('#selector').val());
$('#selector2').val($('#selector').val())
});