I am creating a plugin in wordpress. I am trying to get the img url and file url in jQuery. Code below. What did I do wrong?
$('.result_tag')
.append('<img src="plugin_dir_url( __FILE__ ).'remove_sign.png'" >');
$.post("plugin_dir_url( __FILE__ ).'delete.inc.php'", {
tag : text,/
},
function(data){
$("#result_tag").html(data);
});