Im using 'client_side_validations' gem to validate my form. However it has display: none attribute at the beginning and I change it to display: block after jquery click action.
$(document).ready(function () {
$('#thumb_up').on('click', function () {
$('.vote_form').css('display', 'block');
});
});
Unfortuantely then it does not work. When I use visibility instead it works. How to run it using display: none attr?
$('.vote_form').show()- Amit Patel