Forum

select2, reset to d...
 
Notifications
Clear all

select2, reset to default value

1 Posty
1 Users
0 Reactions
1,602 Widok
0
Topic starter

how to?

1 Answer
0
Topic starter

example

1
2
3
4
        $(this).parents().eq(10).find('.select2').each(function ()
        {
            $(this).val("my_default_value_text").trigger("change");
        });
        $(this).parents().eq(10).find('.select2').each(function ()
        {
            $(this).val("my_default_value_text").trigger("change");
        });

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: