my application in facebook is not working fine in chromebrowser

Feb 23, 2010 at 7:25 AM

HERE IS THE function

function RemoveFriend()

var sSelectedIds;

$(".selected_friend_selected").each( function() {
sSelectedIds = $("#divSelectedList").prev().val();
if (sSelectedIds.indexOf($(this).attr('id').substring(4)) !== -1){
sSelectedIds = sSelectedIds.replace($(this).attr('id').substring(4) + "#" , '');


it is not working in chrome,

am using code) and intergated with facebook and iam having 2 buttons 1 is add picture and 2 is delete picture, both buttons are working fine in IE and firefox, but in chorme add picture is working but delete picture is not working