Questions tagged as 'javascript'

4
answers

How to invoke 2 functions in Javascript, AJAX and PHP

I'm doing a little program which when the user clicks, it invokes 2 functions that do different things. When I click they send both (I checked it in the Chrome developer tools) and in fact they respond correctly to both PHP, however when they...
asked by 01.07.2016 / 01:32
3
answers

Redirect only once

I have an index.html that does an automatic redirection with the window.location function to a different domain. The problem is that if the user gives back to the browser it redirects again, so it is a loop. How can I do that if a user gives...
asked by 18.06.2016 / 00:15
1
answer

Dialog bubbles with keyframe

I have the following speech bubble or dialogue bubble that will tell me if the figure in which the mouse is located is a box or circle, the point is that the bubble comes out suddenly, as you might encourage it to come out more slowly and smooth...
asked by 03.05.2018 / 17:51
1
answer

Problems with Ajax.BeginForm Razor MVC4

Good morning. I had previously posted a problem with a form ajax , but I'm still I can conclude this module. The problem is that when I open this Formulario Ajax (which opens in a dialog and the div of it is out of any othe...
asked by 03.02.2016 / 15:10
2
answers

Show a div only when you enter the page the first time

I have a div with a message, I want it to be shown only when a visitor enters the page for the first time, if it enters a second time it is not shown. I have this code that I found but it does not work var mensaje = document.cookie.split...
asked by 07.06.2017 / 02:20
1
answer

Check status Facebook

I am working with the Facebook API, more specifically with the web SDK. I have created a login button in the index.html that when you click on it, redirects you to Facebook and in case you log in, you are redirected to the main page. Here...
asked by 17.05.2017 / 19:06
2
answers

Problem when showing and hiding divs with jquery

I have 3 divs with which I want to change the content every time I change the option select, but when I run in the browser it does not do what I expect it to do, will it be that I'm missing something to make it work? function seleccion...
asked by 18.04.2017 / 17:59
1
answer

Loading a document ready after AJAX response

Good evening, I have a page where clicking on a button clears a div and in it loads a form with a date field (more specifically with the DateTimePicker plugin). In that same file I have a script that loads the datetime configuration to put it in...
asked by 18.05.2017 / 01:39
2
answers

Login MySQL, PHP and AJAX

I am developing an application with Phonegap . I would like that when I log in, I will check if it exists in the database. In case you have to save the email address ( email ) in localStorage . HTML Code: <div class="login...
asked by 15.05.2017 / 12:23
3
answers

How do you get the parameter?

When I have the following: var anyn = [1,2,3,4,5,6,7,8,9,10]; function hacerAlgo(elemento) { console.log(elemento) } anyn.forEach(hacerAlgo); I know it works like this, but I want to know why and how this is called, I would like more ex...
asked by 25.05.2017 / 04:48