Questions tagged as 'javascript'

1
answer

How to disable / enable a dblclick JQuery event

Good morning, next, I'm trying to make a fast CRUD mode, in editing, for example, ADM gives 2 clicks in the field to be edited, and the field becomes editable with 2 buttons on the right, one to confirm and another to cancel. What I have done...
asked by 28.08.2016 / 19:06
1
answer

how to access json?

I think the simplest thing is to access a key and a value in json, but for weeks I'm not able to do that ... it returns json right through ajax but when I try to access it does not. Note: I am a layman and I am learning. follow code: functi...
asked by 31.08.2016 / 07:38
2
answers

Validating input file with ajax request

$(document).ready(function() { $('.formulario').submit(function() { $.ajax({ url: 'enviar.php', type: 'POST', data: $('.formulario').serialize(), success: function(valor) { $('.resp').ht...
asked by 21.06.2016 / 19:04
2
answers

How not to repeat random numbers?

I'm creating a rotating banner, and for this I use the random javascript that draws a position in the array and displays, this already works well, the problem is that sometimes it draws the same number at random and repeats what is being display...
asked by 16.12.2015 / 16:11
2
answers

CSS3 Responsive Menu Dropdown are not working!

Well, I want to use this menu here link It does not work in blogger link and I have tried in several different templates as well. I downloaded the file and it worked perfectly ... So I thought the problem would be in the blogger .. the...
asked by 12.03.2016 / 12:15
2
answers

Including external .js files

Well, I have a .js file in mydomain.com/file.js (example). This file contains functions that send requests via Ajax to another file, data.php (search and return in json), which is in the same folder as the hosting of the .js file. The idea is to...
asked by 04.03.2016 / 02:15
2
answers

HTTPS server postal consultation

I'm trying to request the address for the zip in a website, but it is giving the following error:    Mixed Content: The page at ' link ' was loaded over HTTPS,   but requested an insecure XMLHttpRequest endpoint   ' link '. This request has  ...
asked by 17.03.2016 / 15:58
1
answer

Display div elsewhere, according to screen resolution

Would you like to give a different include for each resolution? Like ... If the resolution (width) is greater than 768 I want to display 2 columns (grid_6 and grid_6), opening the text next, ok. Butifitisalessresolution,Iwanttodisplayonlyone...
asked by 22.03.2016 / 15:42
1
answer

How to reuse HTML menus in other pages

I'm new to the front end and would like to know how I can write the menu once and reuse on the other pages? I have read some posts but could not implement it in my code. Example; I have a menu of the main page and I want to reuse on all the o...
asked by 22.03.2016 / 13:37
1
answer

Select element by part of attribute contained in it

I have an element, for example: <div class="teste" data-info="isflaolatesteum"></div> And to select it, you could do it as follows: $(".teste[data-info='isflaolatesteum']")... However, I want to select this element through...
asked by 04.11.2015 / 23:59