Questions tagged as 'javascript'

2
answers

How to force loading of JS and CSS files with each new published version?

Every time I publish a new version of my web application (a multi-company system) that has changes to JS and CSS files, some clients complain about errors and I find that it is the cache of the browser and I have to instruct the client to refr...
asked by 03.09.2015 / 20:57
0
answers

how to pass two PHP variables in the onclick function of the html button?

echo '<button onclick="deleteVaga('.$id,$cidade.')"><i class="far fa-trash-alt" style="font-size:36px;color:#f00;"></i></button>'; In the deleteVaga function, it recognizes only one passed variable, but I do not know ho...
asked by 08.11.2018 / 17:21
1
answer

Help in JavaScript contact list program

I have to make a simple JavaScript program that will show the user's contact list and will allow it to insert a new contact, as in the image below and the description of the problem is as follows: Each contact should have a first and last name T...
asked by 08.11.2018 / 18:51
0
answers

Bug in Google Chrome on MAC / IPAD PRO in filling in login and password

I'm having a pretty annoying problem with this Save Password option browsers often offer. I'm using AngularJS in a login form. The user fills in the email and password normally and the request is sent via Ajax to check if it is authenticate...
asked by 07.11.2018 / 14:56
2
answers

How to display Json fields with PHP

I have the following Json in a PHP variable: [ {"pergunta[0]":"Quantos anos?"}, {"pergunta[1]":"Qual sua altura?"}, {"resposta[0]":"12"}, {"resposta[1]":"1.65"} ] and my goal is to show it as follows: How many years? 12. H...
asked by 07.11.2018 / 17:44
0
answers

Dynamic selection box in form (select)

I have a question here, which is as follows: in a form I will have 2 select boxes, the first box is free and the second box the options inside it will vary according to the first check box. I used ngIf and ngTemplate, but I could not make it app...
asked by 07.11.2018 / 15:49
0
answers

Pagination with Vue.Js

I created a paging component and took the items sent by the server that are already paged in 5 per page. The next button works correctly bringing all the pages, but the pagination only stays from 1 to 5 being that the go to page 6 for example wa...
asked by 08.11.2018 / 04:21
0
answers

Get data by POST in ReactJS

When I need to capture data in ReactJS through querystring, I use the command this.props.match.params.[NOME_DA_QUERY] .    Does anyone know how I can capture when this data comes from POST?     
asked by 07.11.2018 / 23:47
2
answers

Simultaneous Tasks in Gulp

I need some help, I would like the server , sass and watch tasks to run together, ie I write scss, is copied to css and finally the browser automatically updates the changes. I tried several times but the server task prevails over the oth...
asked by 07.11.2018 / 21:19
1
answer

How to receive information added in the e-mail on the html site?

I have tried in many ways but I have not been successful in receiving in the email the information added by the client. I can summarize I have already obtained the code, the client accesses the site clicks on the respective items of that and mad...
asked by 07.11.2018 / 22:24