我想让用户选择一个“行”用于提交报告类型的请求。如何将单选按钮放在表格的第一列中,并且选择哪一个是通过提交按钮发送到下一页的活动行?灰色HTML表单元素

Please select your search criteria

Single Date:
Date Range:Start DateEnd Date
Application:

default

2

Application and Date:

default

2

我试过使用这个js文件从以前的问题,但我不能让它正常工作。我知道它需要扩展,但我无法弄清日期字段。谢谢您的帮助!

$("input[name=report]").click(function() {

$(this).closest('table').find("input[name=orderdate]").attr("disabled", "disabled");

$(this).closest('tr').find('input[name=textfield]').removeAttr('disabled');

});

更多推荐

html表单灰色字,灰色HTML表单元素