{"action":"closed","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/1995","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/1995/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/1995/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/1995/events","html_url":"https://github.com/bokeh/bokeh/issues/1995","id":59206862,"number":1995,"title":"Executing js code on \"on_change\" for Select widget","user":{"login":"GildedHonour","id":2032888,"avatar_url":"https://avatars.githubusercontent.com/u/2032888?v=3","gravatar_id":"","url":"https://api.github.com/users/GildedHonour","html_url":"https://github.com/GildedHonour","followers_url":"https://api.github.com/users/GildedHonour/followers","following_url":"https://api.github.com/users/GildedHonour/following{/other_user}","gists_url":"https://api.github.com/users/GildedHonour/gists{/gist_id}","starred_url":"https://api.github.com/users/GildedHonour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GildedHonour/subscriptions","organizations_url":"https://api.github.com/users/GildedHonour/orgs","repos_url":"https://api.github.com/users/GildedHonour/repos","events_url":"https://api.github.com/users/GildedHonour/events{/privacy}","received_events_url":"https://api.github.com/users/GildedHonour/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bokeh/bokeh/labels/type:%20discussion","name":"type: discussion","color":"2659A0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-27T08:53:03Z","updated_at":"2015-05-05T00:10:59Z","closed_at":"2015-05-05T00:10:59Z","body":"When I create a select widget:\r\n\r\n    def my_init(self):\r\n        my_select = Select(title=\"Title123:\", value=\"All\", options=some_opts, id='my_id')\r\n        my_select.on_change('value', self.on_change_123)\r\n   \r\n    def on_change_123(self):\r\n       # doing something\r\n       # can I send a javascript code from here to be executed on the client?\r\n    \r\nAnd when it's changed (another item is selected), is there any way to call a javascript when it happens? I can, of course, find the select via jquery on the client, subscribe to its \"changed\" event and then call js on the client, but I wonder, is there a more standard, bokeh way to accomplish that? "}}