I am using the following code in my text widget to show a location friendly message to the visitor. I have a Family Tree Child theme from Genesis Framework and I am putting the code in the widget but it is not showing up. let me know how can I fix it?
document.write("<p>Welcome to visitors from "+sGeobytesCity+", "+sGeobytesCountry);
the code is working fine on a different blog with busybee theme installed you can check it here.