Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Try this instead. You have some incorrect escaping going on...</p> <p>The part in particular is around your onClick in the first line of the case</p> <pre><code> case 'This Websense category is filtered: &lt;b&gt;Uncategorized&lt;/b&gt;.': document.getElementById('helpDiv').innerHTML='&lt;p style="margin-left: 10px"&gt;Help:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;INPUT TYPE="button" VALUE="Submit UNCATEGORIZED website to Websense" onClick="parent.location=\'mailto:suggest@websense.com?subject=Uncategorized Website&amp;body=Please review and correctly categorize the website that is listed below:%0A%0A' + $*WS_URL*$ + '%0A%0AThank you.\'"&gt;&lt;/p&gt;\ &lt;hr /&gt;\ &lt;p style="margin-left: 64px"&gt;Clicking on the above button will open your mail client to send an e-mail to Websense for recategorization of the above site.&lt;/p&gt;\ &lt;p style="margin-left: 64px"&gt;You will receive a confirmation e-mail and a case number from Websense indicating your request is proccessing.&lt;/p&gt;\ &lt;p style="margin-left: 64px"&gt;Please note the response time for your request will vary. Allow to three to four (3-4) hours for updates to take effect once approved.&lt;/p&gt;\ &lt;p style="margin-left: 64px"&gt;If you have any questions, please contact SOLV at &lt;a href=tel:+18772097658&gt;+1 877 209 7658&lt;a/&gt; or &lt;a href=http://solv:8093/CAisd/pdmweb.exe?OP=JUST_GRONK_IT+HTMPL=about.htmpl target="_blank"&gt;this link.&lt;/a&gt;&lt;/p&gt;'; break; </code></pre> <p><strong>UPDATE:</strong></p> <p>Having just had a play in jsFiddle I have come to the conclusion that your reference to helpDiv is invalid..</p> <p>If you replace all of these with some alerts your switch will reach the default. It's dying because there is something wrong with your getElementById. Maybe the element doesn't have the ID helpDiv?</p> <p>Here is a well and truly stripped down version</p> <p><a href="http://jsfiddle.net/5wvC3/" rel="nofollow">http://jsfiddle.net/5wvC3/</a></p> <p>Here is another fiddle - and update on the last one, showing that the code mostly works. You deff have an issue with your HTML</p> <p><a href="http://jsfiddle.net/5wvC3/1/" rel="nofollow">http://jsfiddle.net/5wvC3/1/</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload