\n\n';
}
function getElementsByClassName(oElm, strTagName, strClassName){
var arrElements = (strTagName == "*" && document.all)? document.all : oElm.getElementsByTagName(strTagName);
var arrReturnElements = new Array();
strClassName = strClassName.replace(/\-/g, "\\-");
var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
var oElement;
for(var i=0; i';
setRandomSearchBoxName();
}
if( document.getElementById("service").selectedIndex == 2 || document.getElementById("service").selectedIndex == 4 || document.getElementById("service").selectedIndex == 6 ){
if (isUrl(search_value)) {
obj.form.submit();
}
else {
document.getElementById('warning-msg').style.display = "block";
document.getElementById('bt-service').style.backgroundPosition = "left top";
btStatus = "notClick";
var searchinput = document.getElementById('search');
value = search_value;
window.document.getElementById('textboxPlaceholder').innerHTML='';
setRandomSearchBoxName();
searchinput = document.getElementById('search');
searchinput.value = value;
searchinput.focus();
searchinput.select();
}
}
if( document.getElementById("service").selectedIndex == 3 || document.getElementById("service").selectedIndex == 5 || document.getElementById("service").selectedIndex == 7){
document.getElementById('warning-msg').style.display = "none";
document.getElementById('bt-service').style.backgroundPosition = "left top";
btStatus = "notClick";
var searchinput = document.getElementById('search');
value = searchinput.value;
window.document.getElementById('textboxPlaceholder').innerHTML='';
searchinput = document.getElementById('search');
searchinput.value = value;
searchinput.focus();
searchinput.select();
}
return true;
}
function isUrl(s) {
var regexp = /^(https?\:\/\/|(www\d?\d?\d?\d?\.)?)([A-Za-z0-9-_]+\.)?[A-Za-z0-9-_]+((\.[A-Za-z]{2,6})(\.[A-Za-z]{2})?([0-9-_%&\?\/\.=]*))$/
return regexp.test(s);
}
// -->
| |
|
| |
| |
| สักครู่ | [n. exp.] (sakkhrū) EN: a little while ; for a moment ; a moment ; for a while ; a minute ; pretty soon FR: un instant ! ; un moment ! |
| สักครู่นี้เอง | [X] (sakkhrū nī ēng) FR: tout à l'heure |
| |
| |
| presently | (เพรส'เซินทฺลี) adv. ไม่ช้า,ประเดี๋ยว,อีกสักครู่,ปัจจุบัน, Syn. soon |
| |
| awhile | (adv) ชั่วขณะ,ประเดี๋ยว,สักครู่,ชั่วครู่ |
| presently | (adv) ในเวลานี้,เดี๋ยวนี้,ในไม่ช้า,อีกสักครู่,ประเดี๋ยว,ปัจจุบัน |
| |
|
Are you satisfied with the result? | |
|
|
|
|