使用Jquery可以显示消息" Number不应超过5"当数字在输入字段中输入超过5时。一旦输入的值小于5,则应隐藏消息。
答案 0 :(得分:0)
MyClass.java:6: error: method apply in interface Function<T,R> cannot be applied to given types;
String stringStuff = func.apply(stuff);
^
required: U
found: Object
reason: argument mismatch; Object cannot be converted to U
答案 1 :(得分:0)
?dcast
&#13;
$("#num").on("keyup",function(){
if($(this).val()>5)
alert("The number entered is greater than 5");
});
&#13;