The problem I have is that a value of a variable is blanc but it's not "" or " " or Null. I tried to print the value:

Code:
document.write("h" . getrouteDest3 . "h");
Nothing is printed. If I remove the getrouteDest3 "hh" is printed. How can I check the value of getrouteDest3 if nothing is printed?