Questions tagged as 'javascript'

1
answer

Calculator in JavaScript + HTML

I have to make a JavaScript calculator for the class, and I am encountering several errors. I wanted to do the first number 1 and then choose which operation to do, after the chosen operation, enter the second number, and then click the "Send" b...
asked by 19.11.2017 / 21:38
1
answer

Javascript - It is possible to have a universal sort function

I have an object called report and I have a report vector and need to do several sorts, so I thought I would do a sorting function that was "universal". I wanted to be able to pass the attribute to be sorted, so that I could reuse the sort funct...
asked by 20.11.2017 / 04:55
0
answers

Edit button, delete in a list made in HTML?

I know that it is much easier to use framesworks and specific technologies for web development like Angular.JS, ZEND, Java EE, etc. But I'm developing a CRUD system using the least possible "facilities." For a system using only Javascript and...
asked by 19.11.2017 / 16:40
1
answer

Dynamic change of the meta viewport tag

Is it possible to change the viewport of a page and have immediate effect without having to update it? Assuming I have the following viewport on the page to show on mobile devices (smartphones and tablets): <meta name="viewport" cont...
asked by 11.11.2017 / 02:33
1
answer

How to update javascript file content on the page?

I searched the forum and did not find a definitive solution, my problem is with regard to browser cache, when I make a change to a javascript file, my client only receives the updated file after cleaning the cache. We have already dealt with...
asked by 10.11.2017 / 19:35
1
answer

error installing github npm

I installed npm and I configured my proxy after that when I try to install any library eg git hub, it appears these errors: npm ERR! node v6.11.3 npm ERR! npm v3.10.10 npm ERR! code HPE_INVALID_CONSTANT npm ERR! Parse Error Based on a conf...
asked by 06.11.2017 / 18:34
0
answers

The webpage has a "waffle blocking layer" in Firefox and blocks to see the content behind screen. It works fine on IE

Good afternoon. I'm trying to access a page developed and used internally by the company in a browser other than IE and I have not succeeded. The page looks like it runs a java script that creates a block that blocks content when using other...
asked by 06.11.2017 / 18:26
1
answer

Validate Radio Button JavaScript + MVC Razor

I need to validate if all of my Radio has been checked, can you help me validate this in JS? My cshtml is mounting the radio's through a List < > of the Model. <div id="checklists" class="row"> <div class="col-md-6">...
asked by 26.10.2017 / 16:01
0
answers

Refresh page value VueJS

I ended up crashing into a problem that I can not solve. When I create a page detalhes , I call it using this.$router.push({name: 'Detalhes'}) And I pass a parameter this.$router.push({name: 'Detalhes', params: {dados...
asked by 26.10.2017 / 14:17
1
answer

CkEditor Fills data in URL when sending

Good morning guys. Have you ever seen this problem while using Ckeditor? I have a form where my <textarea></textarea> text box is replaced by the Ckeditor text editor. I have this on my page: <form class="panel input-g...
asked by 05.11.2017 / 14:43