You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
766 B
JavaScript
21 lines
766 B
JavaScript
TrunMenu("toptour_type","active","li","toptype_content");
|
|
function preloadImages(json) {
|
|
for(var i=0;i<json.length;i++) {
|
|
$('<img />').attr('src', json[i]);
|
|
}
|
|
}
|
|
$(document).ready(function(){
|
|
imagePreview();
|
|
});
|
|
|
|
$(function(){
|
|
$("#send-button1").click(function(){
|
|
var emailI = RegCkElement("yemail","Please fill in a valid email address! Eg: service@chinahighlights.com","/^([a-zA-Z0-9_-_\.])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/","","",false);
|
|
var realnameI = StrIsNullOrEmpty("realname","Please fill in your full name.","","",false);
|
|
var AquestionI = StrIsNullOrEmpty("Aquestion","Please fill in your Question.","","",false);
|
|
if(emailI&&realnameI&&AquestionI)
|
|
$("#formquestion1").submit();
|
|
});
|
|
//±£´æÌá½»µØÖ·
|
|
$("#Q_URL").val(location.href);
|
|
}); |