I tried to search setting default value option but I couldn't find anything about it on seletpickers github.
I solved my problem by this code. :selected gives us this value. I hope it will help someone,sometimes we need small fixes not big ones.
var pets_name = $('#pets_name:selected').val();