var generic_lookup_Enr_Rds_Section2009_selected = function(id, to_s) {
$(".cross-reference-section-value-id").text(id);
$(".cross-reference-section-value").text(to_s);
$(".cross-reference-section-value").css('display', 'inline');
$("#modal_popup").dialog("destroy");
$(".cross-reference-clear-img").removeData([id, to_s]);
};
By this javascript, i bring the id and the string and stored into the label field in my html page. Now, I hide the id by the css attribute. I am just to displaying the string. I added a image of clear symbol next to the string. When i click that image, it should clear the both id and string fields and hide the image icon.