this is the code in jquery and is workin:
jQuery(function ($) { var fruit = $("[name=f_zona] option").detach() $("[name=f_ciudad]").change(function() { var val = $(this).val() $("[name=f_zona] option").detach() fruit.filter("." + val).clone().appendTo("[name=f_zona]") }).change() });
Some one can help me to transform this jquery code into a vue code? Thank you for your time.
2.1m questions
2.1m answers
60 comments
57.0k users