Questions tagged as 'jquery'

2
answers

Fit text inside a button

CSS I have a button that has a pretty long text: When the screen changes size (becomes smaller), it hides part of the text: The idea is to adjust the width and deploy in several lines (the ones you need) without hiding anything...
asked by 16.10.2017 / 17:16
1
answer

save variable value JQUERY

$.ajax({ url: 'https://swapi.co/api/people/?format=json', type:'GET', dataType: 'JSON', success: function(per){ var film; for (var i = 0; i < 6; i++) { for (var index = 0;...
asked by 16.10.2017 / 10:55
3
answers

how to validate that it is only a minimum of one digit and maximum two digits'

Good morning, everyone. I have a temperature field and only at least 5 degrees and maximum 30 degrees. What they see is my validation but not the quantity. They could help me. <label for="rep_legal">Temperatura</label>...
asked by 14.09.2017 / 01:12
1
answer

How to make input fit within a panel that is in col-md-6?

Let me explain, I have a modal window that has 3 panels, the first one is in a row and has col-md-12, all right there. the second and third panels are in a row with col-md-6 respectively. All right up there, my problem is when I change the...
asked by 08.09.2017 / 01:04
2
answers

Uncaught TypeError: Can not read property 'post' of undefined

My code so far: <p><script language="javascript"> function funcion(){ var a ="field_1"; var b ="field_2"; var c ="field_3"; var d ="field_4"; var e ="field_5"; var f ="field_6"; var g ="field_7"; var...
asked by 30.08.2017 / 11:34
2
answers

capture onClick with if else

I have this JQuery (thanks to the help of a colleague here) in which when I scroll upwards the header appears and when I scroll downwards it disappears. The thing is that I want to click on a certain link also , but my still ignorance can n...
asked by 20.09.2017 / 10:51
1
answer

problem with updating sql data

hi friends I have a problem and I would like to know what you say or what I have wrong or I do not know, happens that I have a form that has one field that is filled by a query query, and then when editing a box the field is not updated Here I...
asked by 21.08.2017 / 04:26
1
answer

Delete a table when changing input data

I have the following table: which is generated immediately, but when making a change of dates with $("#p-fechaIni").change(function() { tablaP($("#p-fechaIni").val(), $("#p-fechaFin").val()); }); Send the data and...
asked by 21.08.2017 / 18:34
1
answer

Send several input with the same name or id - Laravel Ajax

I want to send several input values that have the same name through a POST with Ajax. I do not know if you let me understand, but what I want is to create a detail of purchases. My form is as follows: <form class="form-horizontal" role="...
asked by 26.09.2017 / 04:29
1
answer

Serialize and send text and image through AJAX

I have a form which contains a text field and a file field to upload images which I send via AJAX. How can I serialize both the input file and the input text to send the two data at the same time? I have serialized the text field and also...
asked by 23.07.2017 / 17:29