One, jquery dynamically sets the label to hide and show
$("#id").css('display','none');
$("#id").css('display','block');
In some cases, dynamically adjusting the label to block visibility will disrupt the page layout. At this time, you can use the following settings:
$("#id").css('display','');
Two, hide when there is too much content in the form td
.table tr td { text-overflow:ellipsis; white-space:nowrap; overflow:hidden; }
If you want the mouse to move up to display all the content, you can set the title for td
<td title="${vo.province }">${vo.province }</td>
Can write fixed data, can also display the value of background traversal
Three, js check latitude and longitude
//Check longitude function checkLong(){ var longrg = /^(\-|\+)? (((\d|[1-9]\d|1[0-7]\d|0{1, 3})\.\d{0,6})|(\d|[1-9]\d|1[0-7]\d|0{1,3})|180\.0{0, 6}|180)$/; var lng = $("#longitude").val(); if(!longrg.test(lng)){ return'The integer part of longitude is 0-180, and the decimal part is 0 to 6. Bit!'; } return true; } //Latitude function checkLat(){ var latreg = /^(\-|\+)?([0-8]?\d{1}\.\d{0,6 }|90\.0{0,6}|[0-8]?\d{1}|90)$/; var lat = $("#latitude").val(); if(!latreg.test (lat)){ return'The integer part of the latitude is 0-90, and the decimal part is 0 to 6 digits!'; } return true; }