Questions tagged as 'javascript'

2
answers

Update UpdatePanel after running ajax without page refresh

Good afternoon, I need to update components that are within UpdatePanel page aspx after insertion via Ajax . The Ajax executes a function in code-behind in C# , and reloading of the entire page happens....
asked by 26.02.2018 / 20:22
1
answer

Chart.js different color for negative / positive chart bars

Chart.js : Trying to put a color for positive values and another color for negative values on the chart. Works well if there is at least one negative value: See link But something goes wrong if all values are positive (no negative va...
asked by 13.03.2018 / 22:05
1
answer

How to mark an input radio when clicking on a DIV?

The question is self explanatory. I have a form with 3 divs, each div has a
asked by 13.03.2018 / 18:14
2
answers

Join query returns to populate a combochart

I have 2 queries in the database:    One returns the goals of the day until the last day of the month: DIA META 1 3,23 2 6,45 3 9,68 4 12,9 5 16,13 6 19,35 7 22,58 8 25,81 9 29,03 10 32,26 11 35,48 12 38,71 13 41,94 1...
asked by 13.03.2018 / 20:47
1
answer

DataTables JQuery does not render column button in Codeigniter

I'm trying to put action buttons in my table through the datatTable plugin. My Javascript code $(document).ready(function(){ var table = $('#dataTable').DataTable( { "processing": true, "serverSide": true, "a...
asked by 07.02.2018 / 15:20
1
answer

Backend with mysql database and frontend in javascript (react-native)

I'm developing an application in javascript (for android) and I would like to use mysql as the database for this application, but I was not able to use mysql in the same code so I did some searches that indicated separating by backend and fronte...
asked by 07.02.2018 / 11:31
1
answer

Create mask for weight (kg)

I need a mask, preferably in Javascript, for the user to report their weight in KG. That is, to two decimal places and separated by commas.     
asked by 07.02.2018 / 15:45
2
answers

View image until the gif is loaded

I am loading a gif when the user hover over a certain <div> . I do this using jQuerry with the following code: $('#vidthumb_' + idDoDiv).attr('src', caminhoParaOGif); The problem is that the gif takes about 1 second to load, and...
asked by 07.02.2018 / 15:06
2
answers

Simulate event click tag list Span

I have a page where I display some audios when the user clicks and fires the sound. ExampleHTML<td><spanclass="audiospeak" data-lang="en" data-aid="of">of</span></td> <td><span class="audiospeak" data-lang="en"...
asked by 14.02.2018 / 14:40
2
answers

Show and hide according to another event

I have 2 show / hide buttons of 2 groups: group1 and group2. When I click to open group1, for example, it opens a card with information from that group and when I click hide it it hides. So far so good! What I want is that when I click on...
asked by 05.02.2018 / 19:09