Questions tagged as 'jquery'

2
answers

function clickbutton without jquery

I have a code that clicks on a button, but I want to do the same without jquery, since jquery makes my page very slow, like I do with javascript? this is the code: <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>...
asked by 29.07.2018 / 04:24
1
answer

Change values of the Jquery attribute,

I have a jsfiddle. link Here is an intput tag: <div class="marging"> <input id="ex19" type="text" data-provide="slider" data-slider-ticks = "[1, 2, 3, 4, 5, 6, 7, 8, 9, 1...
asked by 04.10.2016 / 23:53
2
answers

Place the 'id' of my input's in formData for the image upload in Ajax

Hello, I need to know how I can add to formData the id "not the name" of my inputs in my div since I only found one for file but I need pass the other inputs , that to be exact I already have captures and previously saved i...
asked by 21.06.2017 / 15:41
2
answers

deactivate Sundays in the input date html?

I need to deactivate the Sundays of the input date, that is, the user can not choose Sundays, it would be better for me to block those days, that is, I do not want you to tell me you chose an invalid day, but it does not show the Sunday similar...
asked by 06.07.2017 / 20:00
1
answer

How do I use the ajax mode of select2 with optgroup and option?

Following the documentation I try the following: var data = { "results": [ { "text": "Life Good", "children": "[{\"id\" : 1, \"text\" : \"Lg Prueba 1\", \"element\" : \"HTMLOptionElement\"}, {\"id\" : 2, \"text\"...
asked by 09.05.2017 / 10:09
1
answer

How to add the amount of a product, if the product is repeated when it is added to an HTML table with JavaScript?

I have a table where I add products with quantity and price, and when a product is repeated, I must add the amount of the product that is in the table plus the quantity of the product that is being added. I have a code that does that to me, but...
asked by 26.05.2017 / 14:28
2
answers

Bootstrap datetimepicker z-index

I'm opening a datetimepicker in a modal but when I open the picker it stays behind: I have put the z-index property in the css but it does not work for me. <div class="form-group is-empty"> <l...
asked by 15.02.2017 / 05:48
1
answer

Remember fields in a form in the browser does not work with ajax calls

When creating a form in the normal way it means: <form action="index.html" method="post"> </form> When submitting or submitting the data of each input, they are saved (remembered by the browser) and displayed in the input the ne...
asked by 17.01.2017 / 16:57
1
answer

How to avoid double spaces in html input?

I want to avoid those annoying double spaces in some inputs, do you have any idea how I can do it? I do not think I have a problem with doing it completely on the client's side. Here is an example of one of my input: <div class="form-gr...
asked by 10.11.2017 / 21:04
4
answers

Fix columns in Datatables html5- js

I want to set some columns in a table made with Datatable. However, when I use the fixedColumns property, all it does is duplicate the number of columns that is specified, but it puts it on top of the others, so they overlap. I attach...
asked by 02.01.2017 / 15:15