更新时间:2023-09-29 18:52:22
你可以使用 .change
为你想要的东西
You can use .change
for what you want
$("input[@name='lom']").change(function(){
// Do something interesting here
});
自jQuery 1.3起
你不再需要'@'。正确的选择方式是:
you no longer need the '@'. Correct way to select is:
$("input[name='lom']")