var str =urlText.value
str.charAt(str.length - 1) == "/"
//console.log(str.charAt(str.length - 1) == "/")
if(str.charAt(str.length - 1) == "/"){
dosometing
}else{
//urlText.value+'/'
}
var str =urlText.value
str.charAt(str.length - 1) == "/"
//console.log(str.charAt(str.length - 1) == "/")
if(str.charAt(str.length - 1) == "/"){
dosometing
}else{
//urlText.value+'/'
}