Questions tagged as 'javascript'

3
answers

Click Dynamically Generated ID

Good evening! I have a remove button that is generated via Jquery. I would like to know how to click this button via pure Javascript. I have tried to diversify the way the button is not seen in the source code, only when I inspect. $...
asked by 11.07.2018 / 22:10
1
answer

how to make a progress bar that goes from 0 to 70 and do not come back from the beginning?

I need a bar that goes from 0 to 70% and does not return to 0 after reaching 70, can not restart the cycle, must stop when it reaches the maximum number. @keyframes site { from { width: 0 } to { width: 73% } } .siteload { backgrou...
asked by 11.07.2018 / 06:19
1
answer

How to put two forms side by side?

Good afternoon! In a PHP file, you have an HTML form that contains a table and a submit . It also has a second form with another table and a 'submit'. How to put the second form next to the first one and the third table have to stay bel...
asked by 11.07.2018 / 00:05
1
answer

Check all classbuttons daughter radiobuttons

I have a page that will display a checklist, the data displayed comes from the database. I need that when the user clicks on the first checkbox (id="selectTASA", for example) it select all the radii corresponding to the value A, as well as the c...
asked by 11.06.2018 / 15:37
1
answer

How to display a message after deleting a record using php?

I have a page with a data list and for each record I have the delete option. When I click the delete button, before executing the action it checks in a controller file which action was requested to only execute the delete code. The flow of ac...
asked by 11.06.2018 / 20:37
1
answer

Read serial port data with javascript, node

Good afternoon, I need a framework, or some alternative to read data from a COM5 usb port, with bound 115200. Has anyone ever used any type of tool? I have seen many in java, c ++ etc. I'm working with a sensor libelium waspmote, ac meter, th...
asked by 28.06.2018 / 17:31
1
answer

How not to present in the html the keys of a vector in application VUE.js

I'm working on a simple application with Vue.js, when checking some checkbox the marked options are presented in the Html, so it works normal, but the problem is that the vector brackets appear as well. You can not present them. var app =...
asked by 27.06.2018 / 22:51
1
answer

Verify if user Older using Jquery (datepicker) & JSP

Need to implement a javascript function where it calculates the user's age, it informs an alert if it is smaller than 18. The Jquery library along with JSP, where datepicker is automatically loaded given an annotation of the Framework. ►Code...
asked by 13.06.2018 / 15:14
1
answer

Explanation Hoisting JavaScript [duplicate]

In JavaScript, every variable that is declared with the var keyword is "Hoisting" to the top of the execution context, right? function testandoMsg (){ let b = 'B'; console.log(a); console.log(b); var a = 'A'; } testandoMsg();...
asked by 28.06.2018 / 14:24
1
answer

Convert PHP functions to JavaScript

I need to convert some functions in PHP to JS, so I'll need to put all these functions inside a .js file. I currently have the following in PHP: $basicoUS_mensal=processaValor("url_aqui"); function processaValor($url) { $result = file_...
asked by 12.06.2018 / 23:36