Questions tagged as 'javascript'

1
answer

Problems with accents with PHP and MySQL

I'm doing a PHP form, in which I used a javascript in a combo. So when I select the first select , the second opens different data depending on what you select first. Until then, it works. Example of two different options, which I us...
asked by 13.07.2015 / 22:30
1
answer

How to compare age with date of birth in JavaScript? [duplicate]

I have a tremendous doubt. Do not ask me why, but I have to compare the age typed with the date of birth typed to see if they beat but I can not. Please, whoever can help me, I thank you.     
asked by 23.06.2015 / 02:31
1
answer

Component select2 with AngularJS

Good afternoon Does anyone use the select2 component ( link ) to create dropdown components? I'm going through the following problem, I have two components in a javascript that are placed on the screen as the user adds new lines. And in th...
asked by 23.06.2015 / 19:42
1
answer

Load jQuery does not capture data

Hello, I made a registration page, where I can consular source and recipient, working perfectly. Now I'm doing the editing page. As I already have the source and destination cpf_cnpj, I need getJSON, query immediately showing the values. W...
asked by 24.06.2015 / 21:45
1
answer

Check if file exists using javascript or jQuery

How can I check using javascript or jQuery that a file exists? OBS : I opened the question and I already answered.     
asked by 27.08.2015 / 20:07
1
answer

Redirect to site in mobile version

Hi, I'm doing a version of my site in mobile using in the case of redirection script in javascript it works perfectly with everything I see that this script has a failure because it's about redirecting checking the device. It works lik...
asked by 31.08.2015 / 21:29
2
answers

Get value from a button radio

How do I get the values from the radio button? I tried with the code below, but it only returns me the value of the first one: <input type='radio' name='Seguro' id="seguro" onchange="soma()" value='Sim'> Sim <input type='radio' name='...
asked by 27.08.2015 / 20:51
3
answers

Move the mouse, and know that I'm on top of an object

I have an image in SVG and when I have the mouse over the image make an alert and change the cursor to the hyperlink cursor. How can I do this? <svg> <image /> </svg>     
asked by 28.08.2015 / 16:41
1
answer

Combo box considering the previous choice

Good morning, I have a question about how to do a combo box in the previous choice of input, for example: If you choose SP I will have three options in the list Sorocaba, Boituva, Tatuí More than still continue to mount the link as in the...
asked by 29.08.2015 / 16:30
1
answer

Menu does not stick under the header

I have a video in html5 at the top of the page and then a menu below it that should be fixed as we scroll the page like this > site here . But I do not know the correct way to do this, remembering that this has to work in all browsers...
asked by 10.06.2015 / 21:06