Hi Man,
Thanks, currently i've been able to test it.
This code requires value of the item(not a title).
So you need to use following code instead of yours:
pre
var current = localStorage.getItem("_accountUserName");
var currentUserId = localStorage.getItem("userId");
//alert(current);
//Appery("selectUserDropdown").val(current).trigger("change");
var yourSelect = Appery("selectUserDropdown");
//yourSelect.val(current);
yourSelect.val(currentUserId);
yourSelect.selectmenu('refresh', true);
localStorage.setItem("profileSwapUserID",currentUserId);
localStorage.setItem("profileSwapUsername",current);
/pre
Regards.