add onChange on select
-
hello, i try add onChange on select, but i cant.
I try use this:function addAttributeToDropdown($html_content){ $html_content = str_replace('<select','<select onChange="ponPaises(this.form)"',$html_content); return $html_content; } add_filter('wp_dropdown_cats','addAttributeToDropdown');
but dont work, thanks for help me,
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘add onChange on select’ is closed to new replies.