<script type\="text/javascript">
vm_load({
"displayId": "12584",
"publisherId": "33927",
"campaign": "9380",
"maxResults": "3",
"areaofstudy":
JSON.parse(jQuery.cookie('CategorySubCategorySpecialty')).CATEGORIES[0].text.replace('Business','1').replace('Criminal Justice & Legal','3').replace('Education','5').replace('Fine Arts & Design','2').replace('Health & Medicine','8').replace('Liberal Arts & Humanities','5').replace('Math, Science & Engineering','9').replace('Public Affairs & Social Sciences','13').replace('Religious Studies','5').replace('Technology','9').replace('Vocational Training',''),
"md": "1"
});
</script>
更新:我错误地复制了包含反斜杠的脚本声明。删除它没有帮助,实际上有它可能会停止加载代码,对吗?
jQuery被加载到页面上。
我认为我需要一些包装代码的东西,并告诉它在页面加载完成后加载。这可能是解决方案吗?
答案 0 :(得分:0)
语法错误
<script type\="text/javascript">
使用<script>
或<script type="text/javascript">
代替