
7 May
2011
7 May
'11
2:26 a.m.
I seem to have come across a problem regarding javascript and using widgets (im using Yesod 0.7.3). I add javascript to widgets normally with addJulius, however when they get added into the head of the website, the tags that enclose the javascript code are <script> Instead of <script type="text/javascript"> I also think this is the reason why the javascript is not executing on my website Also unless I am missing something would it be possible to implement a function like addJulius but instead of adding it to the script to the <head> html page, the javascript gets concatenated into a .js file (which is returned by some route). Thanks