Questions tagged as 'javascript'

2
answers

Set and change color in the menu depending on the scroll

Good afternoon I wondered if some way to change the color of a floating menu in a one page template depending on the section of the page where we are. As in this example: link But without using Bootstrap because I would like to keep my o...
asked by 31.07.2015 / 19:28
0
answers

How to configure uI-mask clearOnBlur inline?

Is there any way to configure Inline mode clearOnBlur of ui-mask ? According to the documentation, one of the ways to set ui-mask is Config Provider > (or something like this), as in the example below: app.config(['uiMask.ConfigP...
asked by 11.07.2016 / 16:43
2
answers

How to pass an angle dependence Js and Ionic

I'm trying to pass a dependency on my module to use a unique filter, I need to filter names in my Views . What happens is this: when I do this, in my controller, without creating routes on my system, that's for sure. angular.module("myAp...
asked by 12.07.2016 / 05:59
0
answers

Authentication problem with firebase 3.0 on node.js

Because firebase has upgraded to version 3.0 and needs to be migrated to the new version, a problem has arisen regarding the authentication of my server node. The code is like this var firebase = require('firebase'); var config = { apiKey:...
asked by 31.05.2016 / 22:31
1
answer

Doubts on myjson

I would like to use this code on myjson.com but give me the error Error: Your JSON appears to be invalid. . How should I do it? [{ "imagem": '<a href="http://bit.ly/1r1QIF4" target="_blank">Clique aqui para ver o loca...
asked by 01.06.2016 / 20:45
1
answer

Enable buttons in columns of a table with jquery

I need to enable the row buttons in a table whose contents of the first column are equal to the value I have in a variable. I've tried it in many ways but it does not work Follow the code: $("body").delegate('#btnFecharCaixaEditaEvento', 'c...
asked by 02.06.2016 / 17:59
0
answers

Get checkbox values with javascript and display bank data

I'm doing a shopping cart in PHP. I have two checkboxes (Checkout and Delivery) and I need the moment the user clicks on the checkbox Delivery the value of the delivery rate coming from the Bank is calculated with the order total. My code:...
asked by 14.06.2016 / 14:00
0
answers

Bootstrap modal window display condition with Ajax / Post

I created a client registration method with Ajax via Post. But somehow my code must contain some error when I establish a certain condition. Note below: When the value returned from register.php is "Registered", I would like it to open a particu...
asked by 25.07.2016 / 07:32
1
answer

PHP - JAVASCRIPT - Take a form variable to another PHP page

Friends, CONTEXTUALIZING: I have a php file with an HTML form, which I will call "file1.php" where I pass an id variable via post to it where I handle the data. In this file1, I perform some operations that require user acceptance. I creat...
asked by 15.06.2016 / 01:28
2
answers

How to get meta tag information from an external url?

I need to get the meta tag of a specific external url, however I found only examples using jquery to perform this functionality, not pure javascript. In pure js, I found this post where I accomplished what I need, but not on any external page, b...
asked by 14.06.2016 / 15:19