Title: [Plugin: Front-end Editor] jQuery .change
Last modified: August 20, 2016

---

# [Plugin: Front-end Editor] jQuery .change

 *  [bleepa](https://wordpress.org/support/users/bleepa/)
 * (@bleepa)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-jquery-change/)
 * Hi,
 * When a user edits a taxonomy and is presented with a dropdown, I am trying to
   code a function that looks for a certain value and trigger some other javascript
   but I cant get the .change function to work.
 * Even when I use a type select like:
 * `$('select').change(function() { alert('onchange'); });`
 * Any ideas?
 * [http://wordpress.org/extend/plugins/front-end-editor/](http://wordpress.org/extend/plugins/front-end-editor/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-jquery-change/#post-2433610)
 * That’s because the select element doesn’t exist when you create the binding. 
   It’s created dynamically.
 * See [http://api.jquery.com/live/](http://api.jquery.com/live/)
 *  Thread Starter [bleepa](https://wordpress.org/support/users/bleepa/)
 * (@bleepa)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-jquery-change/#post-2433680)
 * Considering live is now a deprecated method, I tried to use the .on() method 
   and it that stopped making fields editable i.e. the edit button would not appear.
 * `jQuery('#status select').on('change', function () { alert('changed'); });`

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Front-end Editor] jQuery .change’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/front-end-editor.svg)
 * [Front-end Editor](https://wordpress.org/plugins/front-end-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/front-end-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/front-end-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/front-end-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/front-end-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/front-end-editor/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bleepa](https://wordpress.org/support/users/bleepa/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-jquery-change/#post-2433680)
 * Status: not resolved