Questions tagged as 'javascript'

1
answer

show message with image in div when js is disabled

I have a website whose functionalities use jQuery, I send information through JSOn and I also use jQuery Datatables so it is important that the user has JS enabled in their browser and before that I have been explicitly specified the way I shoul...
asked by 23.05.2017 / 20:24
2
answers

external server XML

I am generating an html file that brings data from an xml but if it is not inside my server it does not show it and I need to bring it from an external server since it will be managed from the outside. What is the error? the file is noticias.xml...
asked by 23.05.2017 / 20:31
0
answers

Error saving image with ajax in codeigniter

Good, I'm starting to use codeigniter with the upload library, and ajax to save an image, it is saved in a table image that has 3 attributes id_image (that is autoincrementable), route, and as foreign id_person. this part being clear my problem....
asked by 23.05.2017 / 19:21
1
answer

Instafeed.js does not work

I'm trying to upload the photos of my Instagram on my website and it's impossible . I already tried in several possible ways and followed exactly what was said in link Why does not it work? <!DOCTYPE html> <html> <hea...
asked by 18.05.2017 / 03:43
2
answers

Error in the datalayer

Good evening community, I'm following a video, and how many times it plays. With your events with tag manager , to get your preview of metrics in google analytics, I have created the following events in the datalayer, so that they can be l...
asked by 18.05.2017 / 04:23
1
answer

-AngularJS- Uncaught TypeError: Can not read property 'substr' of undefined

It is my first application using AngularJS on the client side and I am doing a dashboard that the user must previously access "logging in." My problem is not with the login , but with the way to recover the current user who is using the appl...
asked by 01.06.2017 / 14:07
1
answer

Event to click a video on multiple youtube videos

I need help to redirect a web page according to the selection of a YouTube video. For this I use the api of youtube for javascript. In onYouTubeIframeAPIReady I can obtain several videos, but in onPlayerStateChange (event) I need to get an al...
asked by 01.06.2017 / 03:27
1
answer

Active class is reset

In the following very simple Script. Why, after switching to Active and coloring it of the desired color, once the view has been loaded, is the asset reset to the active item by Default? what will be happening. HTML <div class="list-grou...
asked by 22.05.2017 / 22:00
2
answers

increase and decrease t setinterval with localstorage

I have some buttons that increase the speed of an automatic sweep that I have programmed, each button increases speed a little, I have it because I do not finish a button that gradually increases the speed and another that reduces it ... So I...
asked by 22.05.2017 / 19:24
2
answers

help with PHP + AJAX + JSON

Good! I tell you my problem. I make a request to a php file with AJAX, in this file I bring a long text from my database (mysql) and I save it in a php array, then I pass it to js with json_encode (); The problem I have is that there are t...
asked by 20.05.2017 / 00:01