I am trying to create a class .lock that can not be deleted.
The idea is to make the option element that has this class not be possible to erase it.
I managed to make the class transparent between the elements, but I can not d...
I am using the following code:
$('#formarea')[0].reset();
This allows me to reset a form but in some cases it does not do it with the data that has been written with ajax or elements added with ajax.
I also empty the display none fields,...
HELP
Hello, I need to know how I can change the value of a .select2 .
That is, when I give it to the edit button, I have to fill in all fields filled in all the fields except the select2
WHEN WHEN I DECIDE YOU TO EDIT...
I'm having trouble filling out a combobox with Select2
I have my JS:
$("#comboplatos").select2({
placeholder: "Type to select a sponsor",
minimumInputLength: 3,
allowClear: true,
style: "display: inline-block",
width:...
Good afternoon guys, I'm working with a multiple select2, the problem I have is that when inento changes the value of the element (which should be 3 items) this only chooses the first of the array, here my code:
Creation of the select2 elemen...
Within an asp.net web forms form I have implemented the select2 multiple plugin, at the moment of scrolling within the page the element loses the style and is known in the way it is shown in the image, some way of solving the problem?...
I have a select2 with several options selected, the question is, when I remove one of those elements can I know with jquery the event or how to know that the element is being removed?
This is what I have
$( "#codigo" ).select2({
ajax: {
url: "getEmpleados.php",
dataType: 'json',
delay: 250,
data: function (params) {
return {
q: params.term // search term
};
},
proc...