Questions tagged as 'javascript'

1
answer

Using Onblur in Asp.Net with problems!

I need to format and validate a date field by using the OnBlur property of Javascript within the codebehind C #. The problem is that it performs the javascript function and does not return the value for the field. In relation to this I...
asked by 25.06.2015 / 17:01
1
answer

Charging bar with pure JavaScript

Sometimes I see load bars with percentage in sites that I believe, they override the default behavior of the page when loading (white screen until content is ready). There are some jQuery plugins that do this, but I want to understand exactly ho...
asked by 19.02.2015 / 15:04
1
answer

Option with CSS type button

I have a select ; and in the last option , I call a page. Since it is not possible to use a button within a select , I used onChange . I wanted the last option to be the most like button in CSS....
asked by 13.02.2015 / 13:58
1
answer

Read the PHP data in Javascript

I'm a beginner programmer both in PHP and Javascript and I'm having a question about a project I'm developing. I have a server connected to a PHP file and I'm requesting the following fields $FLD="idfca, solfca"; I created a function ins...
asked by 20.02.2015 / 14:43
3
answers

Pop-up opening before being clicked by button

I wanted to use a popup in a div but it happens that the popup div appears on the page without being clicked by the button. When it was opened it wanted to make the back dark and locked. I tried this: <div id='abc'> (...)...
asked by 21.10.2014 / 00:05
1
answer

div.childNodes.item (0) recognizes tab or space as child

I use Ubuntu 13.10 and I know few HTML editors for it. The editor I use is the bluefish, which has helped me a lot. I'm learning javascript from w3shcool and I'm currently in the DOM nodes part, and as it's a bit more complicated to understan...
asked by 21.06.2014 / 15:38
1
answer

Photos in different divs using instafeed.js

I'm using the instafeed.js API. I wanted that instead of appearing all the photos in the same div appeared one per div. I tried to use this example but it did not work: example instafeed.js on various divs , create multiple instances of instafe...
asked by 09.10.2014 / 15:35
1
answer

How to create country redirects?

How can I do to create country redirects? I mean, let's suppose I get a visitor to Mexico , so I would have to redirect to meusite.com/mx/ , since if I get a visit from Brazil go to meusite.com/br/ or even if you receive a Po...
asked by 29.06.2014 / 21:37
1
answer

Audio player slows down and hangs up after playing ten songs

I'm doing a music player in jQuery / JavaScript / HTML5 and this is going well, but when it starts to play the songs + or- in the 13th track it starts to slow down the page and it fires impossible to continue without updating the page and losing...
asked by 15.09.2014 / 22:13
1
answer

Two elements with the same height with jQuery - all the time

I'm taking advantage of a gallery system that I found on the web where, depending on the proximity of the mouse image, it widens proportionally. Link: Image Gallery Well, I have adapted the code to be responsive (and as you can see it is...
asked by 06.09.2014 / 20:40