1
$('body').append($('<form/>')
.attr({'action': 'https://www.paypal.com/cgi-bin/webscr', 'method': 'post', 'id', 'btn_submit'})
.append($('<input/>')
.attr({'type': 'hidden', 'name': 'cmd', 'value': "_s-xclick"}) )
.append($('<input/>')
.attr({'type': 'hidden', 'name': 'hosted_button_id', 'value': "SDFSDFFGHFGH"})
)
).find('#btn_submit').submit();
我在此代碼中有錯誤。我想知道我在哪裏丟失代碼。請幫助我。如何在使用jQuery傳遞POST數據時打開URL?
謝謝你這麼多。你的權利。我能行 。 – linlin 2011-03-31 00:55:02