I am making a widget and I wrapped some JavaScript with a noscript tag and now I just get a blank screen and no error messages I can notice.
Here is the example: http://www.comehike.com/outdoors/widget.php?hike_id=108&height=600&width=700
If you paste in the url from the view-source of that page, you will get something happening. But for some reason, this url I linked to shows nothing. Why is that happening?
Thanks!!
There isn’t a lot to debug. Just try the page with JS on and with it off. As usual, validating is helpful.
If you have JavaScript turned on, then the
<noscript>element will be ignored and you see nothing. This is expected.If you have JavaScript turned off, then the
<iframe>will be rendered, and the page inside loaded. That page consists of a heading, a few empty elements, and a lot of JavaScript (which won’t run because JS isn’t turned on).