Questions tagged as 'javascript'

1
answer

jQuery ignoring the slashes /

I have the following code of button : <button type="button" title="<?php echo Mage::helper('core')->quoteEscape($this->__('View all items in your shopping cart')) ?>" class="button btn-inline-ver-carrinho" onclick="setLoca...
asked by 15.12.2017 / 17:39
1
answer

jQuery Slider - Jump between defined values and sync with other 2 sliders

I have the following need. I have to make a similar solution to Locaweb where I move 3 sliders at the same time. And they should have the steps defined according to the values of the plan. Example: link Firstquestionis:Howtoestablishste...
asked by 21.11.2017 / 17:33
2
answers

Angular 2: My component does not work in index

I'd like to interpret my component within my index.html, about.html, contact.html, among other pages. I created the component using the Angular cli. My structure is as follows: The code inside my app.module.ts file is: import { A...
asked by 21.11.2017 / 16:41
2
answers

How to give a disabled in a form depending on which radio button to choose?

Good afternoon ... I have the following radio buttons: <input type="radio" name="radio1" value="entrada"> Entrada <input type="radio" name="radio1" value="saida"> Saida I also have the following forms: <div class="form-...
asked by 14.11.2017 / 20:49
1
answer

Replace with VueJS

Next, I'm doing a Filter to fetch some words passed by parameters and check if it exists in the text. Any words that are the same I have to highlight them with a bold and a background. However, when I put the strong tag, vuejs would not render...
asked by 14.11.2017 / 13:43
2
answers

dropdown menu class in javascript not toggla

I'm having problems with my nav. I was following a tutorial on how to make the navbar responsive and disappear on the way out of the top. But its drop-down menu does not work, I tried to edit the js class by running this function and no use, I b...
asked by 04.02.2018 / 11:50
1
answer

How to draw file in gz compressed HTML?

I'm starting to use gzip, I compress a JS file but when I call it in HTML, the error in the console.     NO HTML <script src="/presencial/includes/jorge_includes/all/js/main.js.gz/main.js"></script> The folder is as follows:...
asked by 02.02.2018 / 15:33
2
answers

Reload the main script when completing ajax request

I'm developing an application where I have some views that are loaded into my <section id="view"> via ajax. The view loads normally, but functions that have been programmed with jQuery for all inputs, for example, do not work. As...
asked by 03.02.2018 / 04:51
1
answer

window.open size and place

I'm using windows.open to open it wanted to open it equal one of the popads in the bottom corner of the right side and resolve to use such code but it n decreases in size and it stays in the right cando same someone could help me follow the codi...
asked by 03.02.2018 / 02:10
1
answer

Decimals without rounding in javascript

How would you do to achieve the following result. I want to decrease a number of decimal places after the comma without the number round? ex: 5.8608 - > 5,860 I have already tested various functions and forms but all have gone up to 5,8...
asked by 03.11.2017 / 19:17