Questions tagged as 'javascript'

1
answer

How to leave the date with Brazilian standard in Codeigniter 3?

I'm developing an application that takes the registration date of the registry. But is getting the date with American standard YYYY / mm / dd how do I correct this in codeigniter? Here is an example of my code. minha página html <d...
asked by 05.12.2018 / 20:33
1
answer

Creating an App for Sharepoint using Dev, AngularJS and RestAPI

I need to create an app for sharepoint that does the simple task of listing fields from a list on the screen where the App is placed inside Sharepoint. I have the following error: In 'Access-Control-Allow-Origin' header is present on the requ...
asked by 20.02.2014 / 13:50
1
answer

Creating a CLI tool with NODEJS

I'm learning how to create a Command-Line Interface Applications (CLI) tool and performed the following steps: I created a folder and inside it in the terminal rodei npm init--yes In this folder, I created the package.json in t...
asked by 17.05.2018 / 22:15
2
answers

Validate fields with jQuery

I have a function in jQuery , which when the user clicks the next button it triggers an email. When I click the button, I need to verify that the Name , Email and Phone fields have been filled out and, if not completed, low input...
asked by 16.05.2018 / 18:33
1
answer

Hover-enabled bootstrap tabview

I created a tab with bootstrap and it changes the tabs when clicking the links would like to change from a tab to another passing the mouse over it is possible? follow the code: <ul class="nav nav-tabs" role=...
asked by 14.05.2018 / 19:42
1
answer

Error changing height of an element

I have iframe with a youtube video inside it. I want it to have the 100% width of the page, this is ok, but I want the height to be proportional to the width. <div style="text-align:center;"> <iframe id="video" style="wi...
asked by 31.05.2018 / 19:09
1
answer

Why do not my elements go only 3% to the side?

Here's my code var move = document.getElementById('main').children; var movel = 3; var x = 0; console.log(move.length); function right(){ for (var i = 0; i <= move.length; i++) { var cssPr = window.getComputedStyle(move[i], nul...
asked by 23.05.2018 / 20:25
1
answer

Why does float subtraction by float give unexpected result?

I spent a lot of time to solve this problem on my system. I solved I solved, but at some point it is resulting (the value of the subtraction) = -0.0 and I have to give .replace ('-', '') in order to show the user a positive value and this causes...
asked by 30.05.2018 / 05:56
1
answer

call a function inside another function in js

Hello, to not have to repeat the same 2x code and change only the end I wanted to do 3 different functions, the vectors () and the two that will call vectors () and then execute their code, but I'm not What am I doing wrong? var i; functi...
asked by 24.05.2018 / 21:11
3
answers

How to make a picture with a link appear a text

I need to make a code for a button (which is an image) when I move the mouse the image will go up and a text goes down (name of the image icon), already tried to leave the button with opacity (0) and a hover with text opacity (1) when the image...
asked by 29.05.2018 / 06:39