{"action":"created","issue":{"url":"https://api.github.com/repos/plentz/jquery-maskmoney/issues/142","labels_url":"https://api.github.com/repos/plentz/jquery-maskmoney/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/plentz/jquery-maskmoney/issues/142/comments","events_url":"https://api.github.com/repos/plentz/jquery-maskmoney/issues/142/events","html_url":"https://github.com/plentz/jquery-maskmoney/issues/142","id":43188044,"number":142,"title":"Mask Money not masking when input value is set programatically.","user":{"login":"Duder-onomy","id":1612785,"avatar_url":"https://avatars.githubusercontent.com/u/1612785?v=3","gravatar_id":"","url":"https://api.github.com/users/Duder-onomy","html_url":"https://github.com/Duder-onomy","followers_url":"https://api.github.com/users/Duder-onomy/followers","following_url":"https://api.github.com/users/Duder-onomy/following{/other_user}","gists_url":"https://api.github.com/users/Duder-onomy/gists{/gist_id}","starred_url":"https://api.github.com/users/Duder-onomy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Duder-onomy/subscriptions","organizations_url":"https://api.github.com/users/Duder-onomy/orgs","repos_url":"https://api.github.com/users/Duder-onomy/repos","events_url":"https://api.github.com/users/Duder-onomy/events{/privacy}","received_events_url":"https://api.github.com/users/Duder-onomy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-09-18T23:02:41Z","updated_at":"2016-01-08T17:32:11Z","closed_at":"2014-10-10T00:44:36Z","body":"Here is a simple JS fiddle to demonstrate: \r\n\r\nhttp://jsfiddle.net/us6589rk/3/\r\n\r\nNotice that the input lists as `5`. But if you gain focus, then blur, it fixes it. \r\n\r\nThis might be related to issue #122 \r\n\r\nI will take some time tonight to see if I can fix for you."},"comment":{"url":"https://api.github.com/repos/plentz/jquery-maskmoney/issues/comments/170066669","html_url":"https://github.com/plentz/jquery-maskmoney/issues/142#issuecomment-170066669","issue_url":"https://api.github.com/repos/plentz/jquery-maskmoney/issues/142","id":170066669,"user":{"login":"p0vidl0","id":6966538,"avatar_url":"https://avatars.githubusercontent.com/u/6966538?v=3","gravatar_id":"","url":"https://api.github.com/users/p0vidl0","html_url":"https://github.com/p0vidl0","followers_url":"https://api.github.com/users/p0vidl0/followers","following_url":"https://api.github.com/users/p0vidl0/following{/other_user}","gists_url":"https://api.github.com/users/p0vidl0/gists{/gist_id}","starred_url":"https://api.github.com/users/p0vidl0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p0vidl0/subscriptions","organizations_url":"https://api.github.com/users/p0vidl0/orgs","repos_url":"https://api.github.com/users/p0vidl0/repos","events_url":"https://api.github.com/users/p0vidl0/events{/privacy}","received_events_url":"https://api.github.com/users/p0vidl0/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T17:32:11Z","updated_at":"2016-01-08T17:32:11Z","body":"Its work fine in my code:\r\n```javascript\r\nvar newValue = 123;\r\n$('input#apartment-pricetotal').val(newValue );\r\n$('input#apartment-pricetotal-disp').val(newValue ).trigger('mask.maskMoney');\r\n```\r\nis any other more beautiful methods?"}}