elin-r
2/21/2017 - 6:41 AM

Replace form placeholders

Replace form placeholders

jQuery( document ).ready(function( $ ) {
$('input[placeholder="Your name"]').attr('placeholder', 'Ditt namn');
$('input[placeholder="Your email"]').attr('placeholder', 'Din e-post');
$('input[placeholder="Your phone"]').attr('placeholder', 'Ditt telefonnmmer');
$('textarea[placeholder="Your message"]').attr('placeholder', 'Ditt meddelande');
});