I\'ve got an issue with jquery where I set the html of a div using the html method, but it does not set it correctly.
Here\'s the stripped down code I\'m using:
You forgot to quote your href attribute.
href
Therefore, it stopped parsing the href's value after the first space.
You need to write the following:
$('#results').html( "DM" );
The \" creates a " inside a double-quoted string.
\"
"