Skip to content

Instantly share code, notes, and snippets.

@iredun iredun/js1
Created Jun 17, 2014

What would you like to do?
Функция меняет value и placeholder местами и удаляет потом value у всех элементов класса inputtext(в данном случае использовал для элементов input)
$(document).ready(function() {
$('.inputtext').val(function() {
return '';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.