Questions tagged as 'jquery'

1
answer

Problem with JQuery and textarea when loading variable with line break

I'll describe my problem. I have a modal which consists of some inputs and two textarea. It is a data editing modal already inserted in the BD. I load the data to the modal one with a function done in JQuery, everything goes well until I enter j...
asked by 02.10.2017 / 23:10
2
answers

Do not add onchange attribute to select tag

Good day I have two select tags with options created at runtime, the select ones are displayed correctly with their options, I add them with jquery the onchange event so that when a different option is selected, perform a function, $("#combo1"...
asked by 22.09.2017 / 15:59
0
answers

Get device MAC through Apache Cordova

I am developing a Mobile Application with Apache Córdova and I need to get the MAC from the device. Is this possible? If so, how do I get it?     
asked by 22.09.2017 / 03:18
1
answer

Travel a dynamic table in Jquery

I have my button that adds detail to a table, this is: $("#btnAgregarFila").click(function () { var cont_fila = ($('#det_comprobante tbody').find('tr').length) + 1; var fila = '<tr>'; fila = fila + '<td scope="...
asked by 21.09.2017 / 23:06
1
answer

How to add a button type field to an array

I have the following function: public function ajax() { $consulta['consulta']=$this->Model_Entidades->traerentidades(); echo $x=json_encode($consulta['consulta']); } which returns 4 fields and I insert them in a datatabl...
asked by 27.09.2017 / 15:55
1
answer

New Page in jqgrid

Good morning, it's a pleasure to say hello, I'm using Jqgrid to simulate an Access grid, I load it via ajax and everything right for now, my problem arises is when I need to implement the new page button that is in access I show it in the Next i...
asked by 18.10.2017 / 15:52
0
answers

JQuery stops working

I have the following code in javascript: <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(event) { event.stopPropagation(); $("#img-loading").show();...
asked by 20.09.2017 / 23:38
1
answer

jquery datatables in semantic does not show me the search field

I have a web page where I load a table with records and I'm using the dataTables Table plug-in for jQuery about semantic-ui. It turns out that on another page the table loads me with all the controls: show a certain number of records, paginatio...
asked by 18.09.2017 / 22:26
1
answer

How can I add the number that are in unit price in a dynamic form?

        DETAIL MATERIALS, SPARE PARTS AND SUPPLIES       <br> <div class="form-group"> <label for="tablaDetalleMaterialEinsumo"> <div class='btn btn-success' id="btnNuevaDetalleMaterialEinsumo">Nueva</div>...
asked by 19.09.2017 / 02:19
2
answers

How to write a javascript in wordpress 4.6?

Good afternoon, how can I put a small code in javascript and how it should go on a single wordpress page. $(document).ready(function(){ var es_safari = navigator.userAgent.toLowerCase().indexOf('chrome') > -1; var mediaquery = w...
asked by 18.09.2017 / 18:07