Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
358 views
in Q2A Core by

I pasted  javascrpit(which related ads ) in admin  layout (Custom HTML in sidebar box on every page).After tthat nothing showing.I guess need to remove from table.Can you tell me which tabled stored  javascrpit particular this page

http://asktoweb.com

 

1 Answer

0 votes
by
edited by

I think that is because you forgot to close the script tag using </script> just after the function

 

Try debugging your source and check this:

<div class="qa-sidebar">
							ADVERTISEMENTS  Contact:
ads@asktoweb.com
<script type="text/javascript">
(function() {
  var a, s = document.getElementsByTagName("script")[0];
  a = document.createElement("script");
  a.type="text/javascript";  a.async = true;
  a.src = "http://www.luminate.com/widget/async/11c0dab0ce0/";
  s.parentNode.insertBefore(a, s);
})();
						</div>

which I suppose to be closed using </script> before </div> but seems not.

I haven't checked all the coed validity however.

by
Thanks Tariq ..the script  saved in qa_options   (<qa_options>
        <title>custom_sidebar</title>table ) table .. Now it is working fine..
Thanks to question2answer.
...