Questions tagged as 'javascript'

1
answer

How to go through all the bootstrap-table of my page

Hello, I currently have an mvc .net application where in a view I have several tables and the objective is to obtain all the data of all the tables, this is my html code for one of the tables: <div name="7488" id="7488" control-type="TIssFo...
asked by 22.05.2018 / 15:53
2
answers

how to define multidimensional array with urls?

I have the following arrangement: var urlrefi = 16; globales[16][0] = "http://queen0.com.mx/movil/Servicios.svc/getEstadosReferenciasPorClienteDetalle"; globales[16][1] = "http://queen1.com.mx/movil/Servicios.svc/getEstadosReferenciasPorClien...
asked by 23.05.2018 / 17:38
1
answer

delete a record after accepting Bootstrap confirmation message

I have a function to delete a record from my BD but before deleting the record I show a confirmation message the problem is that the message is not shown, it goes directly to my function that does the elimination of the BD, what should I do so y...
asked by 21.05.2018 / 23:15
1
answer

How to correctly parse the response of an ajax request?

I am filling in a datatable but I would like to measure the length of the array that the query returns to me. In addition to this choose which elements of array I want to show and which do not. The code I use is the follo...
asked by 04.05.2018 / 15:31
1
answer

how can I filter the data I show via the ajax request?

I want to filter the data that returns the AJAX request to get only those that start with the letters vmi . $('#datatable').DataTable({ 'dom': 'Bfrtip', 'buttons': [{ extend: 'excelHtml5', className: 'btn btn-primary', e...
asked by 07.05.2018 / 17:18
1
answer

Extract data from a db mediate angularjs and ajax

I am trying to extract the data from a table in my db using ajax and angular. Do a CRUD with MVC using asp.net and entity framework, the CRUD does not have any problem, but when displaying a data saved with angular no does not return anything I...
asked by 21.04.2018 / 20:10
1
answer

Do not load data

I am populating <table> with ajax, but it does not load anything, nor does it make an error, I tried with an alert the Ajax responses and they are not empty, no parameter is null; <div id="tb" style="overflow-x: auto;padding-ri...
asked by 21.04.2018 / 17:48
2
answers

Verify that all conditions in js are met

I have the following group of conditions in Javascript if (rfc_emisor == "si") { $("#rfc_emisi").prop('checked', true); } else { $("#rfc_emino").prop('checked', true); } if (nombre_agencia == "si") { $("#nom...
asked by 20.04.2018 / 17:43
2
answers

How to validate that there are no combobox selected

Hello my question is that in what way can I validate that for the case that there is no combobox selected, throw an error. Normally it is the other way around with the validations, where it is asked that there be at least one or several combo...
asked by 20.04.2018 / 19:44
2
answers

How to delete data from a vue array and a table in html?

I have an arrangement defined in vue productos:[] I add elements with this function: (vue code) var appmeta = new Vue({ // el: '#v_meta', created: function(){ this.getMetas(); }, data:...
asked by 10.04.2018 / 15:54