GetSimple Support Forum

Full Version: Strange JQuery <img> problem - Solved
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I am trying to integrate a simple quiz application made with jQuery called jQuizMe -

The app takes an array of questions and answers as parameters and builds a nice quiz (4 types of quizzes, CSS customizable and all...)

The app works just fine if I use plain text or links as parameters. If I try to use <img> tags, here is what happens - the slashes get replaced by ="" !!!

What I send as a parameter:
<img src:''>
What I get in Chrome:
<img src:'http:="""" name="" theme="" assets="" images="" image.png'="">

The funny part is that it works just fine outside of GetSimple!

I have the following included in the header:
<link rel="stylesheet" href="<?php get_theme_url(); ?>/assets/js/jQuizMe.css"/ type="text/css" media="all">
    <script type="text/javascript" src="<?php get_theme_url(); ?>/assets/js/jquery-1.8.2.min.js" ></script>    
    <script type="text/javascript" src="<?php get_theme_url(); ?>/assets/js/jQuizMe-2.2.1.js"></script>

Could it be some sort of JQuery collision? I am stuck as what I'm seeing defies all logic...

---------- EDIT -------------

Forget it, I found out that i had a typo...
It's working now...

BTW, I am learning some PHP and trying to develop a plugin to integrate jQuizMe into this awesome CMS called Getsimple!