Questions tagged as 'javascript'

1
answer

JavaScript error when using Action

I'm trying to use a platform feature that I use (magento) but I'm not getting it, the following image error is being returned. I want to send newsletter by mobile, so I tried to copy the same action and everything else, but I'm not getting it....
asked by 04.10.2017 / 20:53
1
answer

Error: DataTables warning: table id = datatable-checkbox - Can not reinitialise DataTable - JQUERY

I have the following problem in building a datatable:    DataTables warning: table id = datatable-checkbox - Can not reinitialise   DataTable. For more information about this error, please see    link Well, I tried to use destroy and I d...
asked by 06.10.2017 / 21:39
1
answer

Create id field with CheckBox DataTable Jquery

I have the following datatable: function retorna_cliente() { $(".mostra_clientes .table").dataTable({ "bDestroy": true }).fnDestroy(); $('.mostra_clientes .table').DataTable({ "pageLength": 4, "ajax": { "ur...
asked by 06.10.2017 / 20:08
2
answers

Collapse on bootstrap 4

I want to use the following code in jquery, I do not know if it's right: $( ".card" ).on( "click", "#menu_arrow", function() { $( "div[class|='collapse']" ).removeClass('show'); }); The menus are in a php loop that displayed th...
asked by 06.10.2017 / 23:26
3
answers

Best way to save login data [closed]

Good afternoon, what would be the best way to save user login data? I have a login system in PHP that validates username and password via ajax and if everything is ok, I want to save the data (email in case) to be used elsewhere in the system. I...
asked by 26.10.2017 / 20:50
1
answer

Image no select

I have a select of languages and would like to leave flags in place of the words, I was searching and I saw that this is not possible, I would have to redo the select using div and span. My question is how do I do this. <div class="idiomaes...
asked by 26.10.2017 / 13:23
1
answer

Display bank data when clicking table row

I have a table dynamically populated when the page loads with database data, using php, everything works until then, but by clicking on a row in the table it displays in a side panel the table data plus some extras that are in the bank, how to d...
asked by 18.10.2017 / 14:28
1
answer

Sending Image Uploaded to the Direct Server - HIGHCHARTS

I am using an API called highcharts, in it I generate graphics and I can download images of it in png, I would like to know if there is a way to make when I download this image that same image is in a folder on the server     
asked by 17.10.2017 / 17:19
1
answer

Two numbers do not add, they concatenate

You must already be bald to see problems like this. My problem, I think, is a bit different. I have a method (called transformAccounts) that transforms any type of monetary value to be able to calculate. However, even if I am changing, I can...
asked by 02.10.2017 / 16:18
1
answer

How to detect scroll in modal bootstrap?

Follow my CSS code: .modal-body { max-height: calc(100vh - 210px); overflow-y: auto; } Follow JS code: $('.modal-body').on('scroll', function () { console.log('scroll y'); }); JS code is not working, is there any solution?    ...
asked by 02.10.2017 / 20:50