JAVASCRIPT FUNCTION TO SYCN INPUT ELEMENTS

Publicado el: 27 enero 2017
en el canal de: creativeclerk
38
0

This video will explain a jquery function that will cause input elements to sync their values so that when you change the value of an input type range, it will update other input elements with its value. It is useful in forms where you want to give the user a choice of either using the slider or the number or spinner element.

You can get the code to this project by going to:
http://clerkinthecloud.com//table/pop...

Just right click and copy view source.

The function is:

function sync_inputs(a){

var sync_val = $(a).val();


$(a).siblings('input').val(sync_val);

}

and then call it whenever you change an input element:

$('input').change(function(){
sync_inputs(this)

});


En esta página del sitio puede ver el video en línea JAVASCRIPT FUNCTION TO SYCN INPUT ELEMENTS de Duración hora minuto segunda en buena calidad , que subió el usuario creativeclerk 27 enero 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 38 veces y le gustó 0 a los espectadores. Disfruta viendo!