Questions tagged as 'javascript'

0
answers

Infinite Alert with .focus ()

Why are you giving infinite alert when I try to focus () on an incorrectly filled onblur field? if(ret = TstForDat(wCampo, "")!=""){ alert('Data Incorreta! Favor preencher a data corretamente.'); wCampo.focus(); //apos colo...
asked by 08.06.2018 / 16:03
0
answers

Sorting (sortTable)

I'm trying to create a sort order in the columns of a table but it does not sort smaller > greater and greater > smaller and still strip all the styling of the table : Obs. The contents of the table are populated dynamically....
asked by 28.05.2018 / 15:24
2
answers

How to call a modal page in a navbar in the bootstrap?

I'm developing a site which I need to call a modal in the submenu of a bootstrap navbar, however, the file in php with the page I'd like to call is in a different folder than the navbar file. I searched a lot of sites and found a way that did no...
asked by 25.05.2018 / 23:46
0
answers

Problem with Fetch and Json in Jquery Javascript

I have a problem with Fetch Javascript let url = "https://www.teste.com.br/ws" fetch(url,{ mode: 'no-cors', method: 'GET', headers: {'Accept': 'application/json','Content-Type': 'application/json'} }).then(funct...
asked by 25.05.2018 / 23:13
1
answer

How to format angular datetime using typeScript?

I want to get current date and time in '2018-05-25 20:01:01' format. I tried with javascript but I could not. How do you use angled?     
asked by 26.05.2018 / 01:01
0
answers

Keyboard of the Iphone opening when it has an input in the app

Hello, I'm developing an app, testing on android OK, but when I went to test on the iphone (Iphone6), when the screen has a testo input, it automatically opens the keyboard, that in android does not happen. Has anyone ever gone through this...
asked by 25.05.2018 / 21:42
1
answer

Check user

I want the user to log in to my page, javascript checks his profile on the system, and if the profile is empty, it goes to the home page. It's simple, I'm trying this code here, but it's not working right: <script> var perfil = doc...
asked by 25.05.2018 / 21:56
0
answers

How to leave the required selection? and also by default the first available option?

I have a system in php that generates selects according to the information of the database, in case I would like to leave these selects obligatory because they do not go unnoticed and also always leave the first option selected as the default....
asked by 25.05.2018 / 20:50
1
answer

Pass function to another function as parameter with parameter in this function in javascript

The title may seem a bit confusing but what I want is basically this: in the onclick of the button pass to a function A a function B as a parameter. I have a list of products each with a different code. I have the following butto...
asked by 01.06.2018 / 05:43
0
answers

Screen to visually relate items between two columns

I'm developing a screen in HTML, CSS and JQuery to relate two columns: one with the postings of a bank statement and the other with the type of posting, so I click on a post in the first column and then the type on it column of the medium, throw...
asked by 01.06.2018 / 14:22