JQuery(#delete_role).click(function(){
jquery doesnt allow space or special characters in the id of the element.
Replace All :
//ie to replace all dots on page with hyphensvar replace_str = $('body').html().replace(/./g,'-');$('body').html(replace_str);//if that doesn't work try thisvar strNewString = $('body').html().replace(/\./g,'---');$('body').html(strNewString);