Questions tagged as 'javascript'

1
answer

Get multiple IDS, but perform different operations on each one

I have a function that gets multiple ids at once, but I have to do slightly different operations on each one, so I'm forced to create 3 variables for each different id. The idea is that if there is html content in id3, ids 1 and 2 should not be...
asked by 16.03.2015 / 15:35
1
answer

I can not return value from the Web Service to PHP

I have already tested the Web service through SoapUI and it is working normally by returning the values. Web service XML This XML file does not appear to have any style information associated with it. The document tree is shown below. &...
asked by 01.07.2015 / 22:54
1
answer

Enable disable multiple specific fields

Hello everyone As I have no experience with javascript I would like some help of how to enable or disable some expecific fields. In that Script below and that's exactly what I need only when putting it in the code it disables fields that do n...
asked by 10.05.2015 / 15:21
1
answer

Slideshow JQuery Error while passing Slide

Problem I have a slideshow where I have to show two div's each time. Until the beginning it gets the two all right, however as soon as it returns to div 1 and 2 in the next 'next' that I give the div 1 is still there and only div 2...
asked by 11.05.2015 / 15:19
1
answer

How to know which is the first and last element with Jquery?

Good evening everyone. I have a doubt. I'm doing an image gallery and would like to know how do I know which is the first and last element. Type I have the right and left arrows for previous image or next image. Dai type when I get the last imag...
asked by 11.05.2015 / 02:41
1
answer

Error if user does not release GeoLocation

I'm putting geolocation on a client's website, but I'm having a problem doing some function that calls a alert() if the user does not give the browser permission to use the geolocation. What I want is to only display alert() when t...
asked by 10.05.2015 / 06:35
1
answer

Button problem with Javascript

Some time ago I made this question, to know how to add a button to go back and pass a slide. Anyway, I managed to make the buttons, but now I'm having a problem. When clicking on the buttons for the first time, in prev it passes the slide, but...
asked by 12.05.2015 / 21:00
1
answer

Intermittent problem with Uncaught TypeError: Can not read property 'locac' of undefined

I'm having this problem    Uncaught TypeError: Can not read property 'locac' of undefined With the code: function fnc(){ var evt = (window.event ? window.event : event); var elemento = evt.target; var params = $...
asked by 28.04.2015 / 16:17
1
answer

Do submit with and appear JS dialog

<form action="" name="Insert" method="post" onsubmit="alert(1); return false;"> <a href="#" onclick="javascript:document.Insert.submit()" type="submit" >Eliminar</a> <form action="" name="Insert" method="post" o...
asked by 25.04.2015 / 17:01
1
answer

Create a route in Google Maps V3 [duplicate]

How do I adapt the script below to the following purpose: The user opens the page and the map appears in a predefined place (company). He then clicks on an input and enters his location, (the input is above the map), then he clicks a "reac...
asked by 28.04.2015 / 20:00