脚本有效,但单击的单选按钮未选中=选中 jquery ajax POST
查看错误: http://jsfiddle.net/sEdGz/2/
//脚本有效,但是点击收音机未选中=已选中 //mysql 和 php 工作得很好
$('#form1').live("click change", function() { ....
<div class='divtoclick'>neu berechnen</div>
<form id="form1" method="post" name="bestellformular">
<input value="101" name="flyer_anzahl" type="radio" /> 1.000
<input name="flyer_anzahl" type="radio" value="102" checked="checked"/>
...
我想得到这个:
$('#form1').find('.divtoclick').live("click", .....
$('input#form1').live("change", .....
有人可以帮助我吗?谢谢
to see the error:
http://jsfiddle.net/sEdGz/2/
//the script works, but the clicked radio isn't checked=checked
//mysql and php works good
$('#form1').live("click change", function() { ....
<div class='divtoclick'>neu berechnen</div>
<form id="form1" method="post" name="bestellformular">
<input value="101" name="flyer_anzahl" type="radio" /> 1.000
<input name="flyer_anzahl" type="radio" value="102" checked="checked"/>
...
I want to get this:
$('#form1').find('.divtoclick').live("click", .....
$('input#form1').live("change", .....
Can anybody help me? thx
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
原因是您的
返回 false
。这将起作用:
The reason is your
return false
.This will work: