修改提示语句.
This commit is contained in:
@@ -90,7 +90,12 @@
|
||||
|
||||
$("#seltype").change(function(){
|
||||
$("#intype").val("");
|
||||
$("#intype").attr("placeholder","<spring:message code='input'/>"+$(this).find("option:selected").text());
|
||||
var reg = /[A-Za-z]/;
|
||||
if (reg.test($(".page-title").text())){
|
||||
$("#intype").attr("placeholder","<spring:message code='input'/>"+" "+$(this).find("option:selected").text());
|
||||
} else {
|
||||
$("#intype").attr("placeholder","<spring:message code='input'/>"+$(this).find("option:selected").text());
|
||||
}
|
||||
$("#intype").attr("name",$(this).find("option:selected").val());
|
||||
});
|
||||
$("#treeTable").treeTable({expandLevel : 3}).show();
|
||||
|
||||
Reference in New Issue
Block a user