خرید بک لینک

Vote count: 0

Im trying to have a formualr which has 3 sites (divs). the first one has only a next button, the second has a back and a next button, the last has a back and a submit button.

if Im using this code:

    $('.next').click(function(){
   $(this).parent().hide().next().show();//hide parent and show next
});

$('.back').click(function(){
   $(this).parent().hide().prev().show();//hide parent and show previous
});

the second page just appears for a few milliseconds and then goes back to the first one.. is it deprecated?

asked just now

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 31 خرداد 1395 ساعت: 15:41

صفحه بندی