How to paste custom javascript at one question only?
Is it somehow possible to paste some custom javascript on one specific question only?
Is it somehow possible to paste some custom javascript on one specific question only?
In the template question/javascript.html
you could add something like:
{% if request.path == '/my-url/' %}
<script src="http://example.com/script.js" />
{% endif %}
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2014-04-11 13:40:57 -0600
Seen: 84 times
Last updated: Apr 11 '14