jquery提交时,禁止按钮和超链接
function disableAll() { $(":button").each(function() { $(this).attr("disabled", true); }); $("a").each(function() { $(this).replaceWith("<a style='cursor:hand'>"+$(this).html()+"</a>"); }); }
jquery提交时,禁止按钮和超链接
function disableAll() { $(":button").each(function() { $(this).attr("disabled", true); }); $("a").each(function() { $(this).replaceWith("<a style='cursor:hand'>"+$(this).html()+"</a>"); }); }