Questions tagged as 'javascript'

2
answers

Replace the value of an input and keep the previous value

I need a input[type="text"] , in which the user type anything ("abc", for example), but in the visual appear other symbols, but keeping the previous value when I get it by JavaScript or sent in form in input[type="password"] )...
asked by 23.11.2016 / 19:35
2
answers

How do I add more than one domain to this alert?

Someone can help me because I can only add one domain, and when I try to put more than 1 URL does not work. If anyone can help me I'm grateful! if((window.location.href).indexOf('DOMÍNIO') >= 0){ }else{ // Como faço para adicionar...
asked by 24.11.2016 / 23:34
2
answers

How can I not load the page when clicking on the select option?

I have the following select, every time I select an option it reloads the page, so that's fine, but I want to make clicking on the option nUpgrade, it just does not update the page, does it have? Thanks! <select id="filtro" name="filtro...
asked by 24.11.2016 / 06:05
0
answers

querying and converting to array of objects [closed]

I need to query and convert rows of code and location to array of objects in javacript, but im having some issues, could someone help me. My code here: $sql = "SELECT code, city_name FROM airports"; $consulta = mysql_query($sql); while($mo...
asked by 24.11.2016 / 19:00
1
answer

Notification when opening Chrome [closed]

Facebook currently launches notifications when opening chrome. How can I do the same thing, ie fire a notification as soon as the user opens the chrome?     
asked by 23.11.2016 / 10:23
2
answers

Stop an ajax request and create a new one

In a search input, an ajax request is made to each letter pressed through a KeyPress in the field, however with each key pressed a new request is made, that is, if the user types fast, and he type a value of 10 letters, 10 different requests wil...
asked by 24.11.2016 / 14:28
0
answers

Filters in datables only working once

Good morning guys over stack. I've had a problem for some time, where I can not figure out why. I'm working with php's datatables, where I make some custom filters. When I select for example, 2 checkbox, and click the button it works perfectl...
asked by 03.10.2016 / 19:26
1
answer

Ionic does not recognize my css

To be very clear I'm creating an app with ionic 1.3 as learning and study for facul and I need to use a css and external js is a lib called Icheck link I've tested it on other projects and it works perfectly but I can not use it with ionic. I...
asked by 24.10.2016 / 03:25
0
answers

Get the pixel values of a certain point on the screen

Hello, I'm new here so if there is any formatting error, sorry! I'm developing a WEB solution and I need to load an image in the browser and select 4 points within that image and get their values of the pixels that were selected in those 4 po...
asked by 16.09.2016 / 19:51
0
answers

windows.opener not working in external pages [closed]

I've developed a system that works on my server, but not from third parties. When I click to move, I run the onunload function with windows.opener, to close the window automatically, and change the login status in the parent windows. It works on...
asked by 18.09.2016 / 17:07