Questions tagged as 'javascript'

1
answer

Update fields dynamically

I need my code to update the Override field when the Total field value is changed to a value greater than the Sub.Total value or refresh the Discount field when the Total field is smaller than the Sub.Total field with the value, and when you add...
asked by 03.12.2014 / 18:24
1
answer

Dynamic chart does not update

I'm using the HTML5 RGraph library and should update dynamically along with the bank. However, I would like the chart to put the last imputed data in the database, so if I entered the value 10 in the database, the graph line would stay in...
asked by 31.10.2017 / 02:15
2
answers

How to pass the id to the exclude function

I'm creating a to-do list, I can create fields with tasks, and elements with javascript, but when I click the close button, the only field that disappears is the last one. I put the elements created in an array as an object and assign a value to...
asked by 30.10.2017 / 13:34
1
answer

How to get ID by clicking on a Dynamically added element

I'm getting inside a div new elements via PHP using XMLHttpRequest . So far so good, I get the elements and it displays everything right, but I'm not able to get the ID of these new elements using the Click event. Ex: <div id="...
asked by 21.10.2014 / 19:53
4
answers

Put value in a text box (input)

I want to put a value in a text box. function open_popup(date_today){ document.getElementById('txtstart').value = date_today; } and a html input <input type=text required name='txtstart' style='width:150px' value=''>...
asked by 22.10.2014 / 17:06
1
answer

How to give Play / Pause in a SWF contained in HTML?

My HTML looks like this: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="440" id="movie" align=""> <param name="movie" value="swf-file.swf"> <param name="quality" value="High"> <pa...
asked by 09.05.2014 / 00:21
1
answer

What steps can we take to protect ticket issuance of malware that changes the digitable line?

In addition to the PDF issue, which may make it difficult for some customers to lack PDF viewers, what techniques could we use to protect or detect that the generated ticket has been modified by malware?    Virus that affects tickets already...
asked by 08.08.2014 / 19:05
1
answer

Change image src when input value equals a given value

Good evening! I have a login input and an img with the user image. I'm trying to change the user's image when this input loses focus and the value entered matches a given value. ex: if I type in this input Potato I will change the src pointing t...
asked by 07.12.2015 / 23:47
1
answer

Transforming a datatable into array with jquery

I have as output a string with the following format. [["link"],["<iframe id='player' type='text/html' width='452' height='272' src='http://www2.camara.leg.br/camaranoticias/tv/embedAoVivo.html?width=450&height=253' frameborder='0'>&...
asked by 14.12.2015 / 04:47
1
answer

Period-based filtering on data type inputs

I have a system where I have a <input type="date"> and I need to filter it, to bring in the calendar only the dates of 3 months ago and the current month I was using the attributes min and max to test, since they ar...
asked by 09.01.2014 / 14:39