I'm using jQuery masked input plugin, and when I take the focus of the field and return the focus (blur, focus) the cursor back to the beginning, need to always leave the cursor at the end but I can not.
$('#id_origin_zipcode').bind('focus', $.proxy(this.moveCursorToEnd, this));
moveCursorToEnd: function(e){
var value = $('#id_origin_zipcode').val();
$('#id_origin_zipcode').val(value);
},