Properly encoding URI query strings
var myUrl = encodeURIComponent(DivToReload.attr('title'))