Questions tagged as 'javascript'

1
answer

How do I "update" a function?

Well, I have the following code: <head> <style> body,html,div { margin:0; padding:0; width:1050px; height:69px; position:relative; } #anim { background:url('https://csgopolygon.com/img/cases.png?v=222') 0 0; backgrou...
asked by 29.01.2017 / 17:01
3
answers

How can I calculate the elements in Javascript

I need to get the value id="valorPorcentagem" which is the value of the percentage with the (id="valor_vendedor") and automatically add in the id="comissao" . Being that: valorPorcentagem / 100 x valor_vendedor = comissa...
asked by 30.01.2017 / 18:24
2
answers

How to make PROCV function (excel) in javascript

How to do the Procv function of excel in javascript; Ex: I have a table with 2 columns (name and code) and I have a list with only names, I need to go through this list with names and bring the code corresponding to each name according to...
asked by 24.01.2017 / 17:49
2
answers

Have PHP read the server folders [duplicate]

Colleagues. I have now taken a project here at work, where back in the beginning this project was developed. It works as follows: Some folders with jpg have been created on the page index.php, where it directs to the respective links. Bu...
asked by 17.01.2017 / 18:20
2
answers

JavaScript for each record in my view

I have a VIEW where I display a table with 15 records (15 rows) and 5 columns, but the very thing that matters is a column, "Actions". In it I have a button, "View", which when clicking I want to open a window with a message, for tests ....
asked by 24.01.2017 / 17:53
1
answer

allowing only letters in the input with jquery Mask

Is it possible to only allow input letters with the jquery Mask? I'm using this plugin: JQuery Mask Plugin     
asked by 23.01.2017 / 17:06
2
answers

How to pass input value to JavaScript function

How to pass values of other inputs ( as a parameter ) to a function that will only be executed in a given input ? <input id="nome" type="text" value="LocalHost"/> <input id="email" type="email" value="[email protected]...
asked by 21.01.2017 / 03:26
2
answers

Open Popover by loading the page and closing by the button

I have this Popover and I would like that when loading the page it was opened, and only closed after the user clicked on Entendi ThecodeI'musingisthisScript:$(document).ready(function(){//Associaoeventodopopoveraoclicarnolink.$...
asked by 23.12.2016 / 18:33
1
answer

Changing input border with Javascript

What's wrong? I need this effect to validate form. var input = document.getElementByClass("dado"); input.style.border = "1px solid red";     
asked by 21.12.2016 / 18:30
1
answer

jQuery: Remove table row

I'm trying to remove rows from the table where, in the Employee column, the name does not contain the string "o", as I did in the code below. The problem is that even returning false for comparison if "o" is contained in "Joseph", the line is no...
asked by 14.12.2016 / 23:31