Questions tagged as 'jquery'

2
answers

how to completely hide an item when reloading the page with JS?

I am hiding a div with the hide () function and if it works, the problem is that when you update the browser several times you see the div for a small moment only, I want to avoid that, that does not appear completely, thanks     
asked by 02.07.2018 / 00:39
1
answer

JQuery: add values with condition

How could the sum be by state? I have 3 states, "PAID", "MUST" and "CANCELED". Currently I have the totalized general. Code to add. var sum=0; $('.subtotal').each(function() { sum += parseFloat($(this).text().replace(/,/g, ''), 10); })...
asked by 30.06.2018 / 22:47
0
answers

Show checkbox selected at the top of the table

I have a table in which I can select several rows by selecting several checkboxes using JQuery and filling the table dynamically, what I need is that each time I select a checkbox it is shown at the beginning of the table. I would like to hav...
asked by 28.06.2018 / 21:59
1
answer

Export pdf file using ajax in MVC C #

I would like to know how to export an excel file using ajax, I have tried in the following way, but it does not work: $("#ajax_loader").css("display", ""); var formato = "PDF"; //window.location.href = url; //$("#ajax_...
asked by 02.07.2018 / 23:09
1
answer

how can I use niceScroll in angular?

I have the following error when trying to use the nicescroll in angular:    Uncaught TypeError: $ (...). niceScroll is not a function           at common-scripts.js: 92           at common-scripts.js: 157       (anonymous) @ common-scripts....
asked by 02.07.2018 / 19:58
2
answers

mouseenter hover

I want to make that when moving the mouse over the page the space of the cell li of the first column is put in the same cell of the next two columns. The code that I am trickling is the following. I tried hover, mouseneter and mouseleave....
asked by 28.06.2018 / 06:32
1
answer

How to copy field in Odoo 10

I'm using Odoo 10 and I'm trying to copy a field. I want to copy a field called Address up to the street field Pos_custom.xml code located in the src folder <templates id="template" xml:space="preserve"> <t t-extend="C...
asked by 27.06.2018 / 20:32
2
answers

Save iframe content in jquery

I need to save the content of the following code: "<iframe src='info/info_template'></iframe>"; What I want, in jquery, is to take the html that is in src = info / info_template and save it in a variable, either in html or in te...
asked by 05.07.2018 / 11:24
1
answer

How to pass a fix by Jquery ajax to a servlet (java)

I have an order form with several input and I want to send the value of all these input to a servlet through jQery ajax to a servlet, my problem is that the amount of these input is variable ie the user is free to increase more orders (input) so...
asked by 26.06.2018 / 23:44
2
answers

Capture id from an img tag list with jquery?

The application what it tries to do is against a series of stories of some citizens in a video clip series, now, what I'm trying to do is show thumbnails. I'm trying to capture the value src of an img tag, the thing is that the id of the img...
asked by 27.06.2018 / 00:06