Questions tagged as 'jquery'

2
answers

How to make a code box with style or color-scheme

Hi StackOverFlow colleagues, some time ago I wanted to make this style of code box but I really do not know how to start, or what library I can use to do this. Here I leave an image of what I want to put on my website. I am attentive...
asked by 28.05.2018 / 19:29
1
answer

Truncated JS does not take 0 to the right

How can I truncate a decimal number with zeros to the right, since it always truncates to the natural number, that is, if there is a 0 it does not take it? function myRound(num, dec) { var exp = Math.pow(10, dec || 2); // 2 decimales...
asked by 16.05.2018 / 19:08
2
answers

Add a few minutes to the one currently obtained

Something I must be doing wrong because when I add 5 minutes to the time I just got a result that is not in minutes comes out. I have the following function in javascript and jquery that I am running with tampermonkey :...
asked by 08.08.2018 / 14:48
3
answers

Foreach in jquery

In the result of the ajax query, I receive a json, to this I need to list it in a table, apply the following, but it does not work for me. Someone to give me a hand, please. $.ajax({ url:rutaOculta+"ajax/ajax.carrito.php", method:...
asked by 17.05.2018 / 02:06
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 / 17:53
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 22.05.2018 / 01:15
1
answer

error with setInterval

I'm using a jquery api that rotates the images but I have a question about how to stop a setInterval with the hover function of javascript when hovering over the content the interval is executed but I need to remove the mouse interval stop I do...
asked by 12.07.2018 / 02:56
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 / 19:48
2
answers

Change the contents of a div and activate or deactivate it

I have a div in HTML with a select and I want to call a function in JavaScript the content of this div change, after doing Several things in my JavaScript code. I want this select to disappear and a table appear...
asked by 27.04.2018 / 18:47
1
answer

remove an element from the DOM and do not load it again when refreshing the page

I am removing a div with remove() , but I need to delete it completely, I explain to delete it with remove it removes it but if I update the browser or refresh the page it shows again I need to delete it and no longer load if the page is r...
asked by 04.04.2018 / 16:55