Questions tagged as 'javascript'

3
answers

How to hide the tooltip created by the Title attribute?

Is there a way to hide the tooltip created by Title by holding the mouse over IMG through CSS or JavaScript?     
asked by 13.11.2014 / 14:17
2
answers

Check fields when giving submit and case error return to field

I have a very extensive form and I would like to click submit and the field is in error, that the page can scroll (jQuery) to this field so that the person knows exactly what has error. I started like this: $("#sdEmpresa").removeClass("hidden"...
asked by 13.08.2014 / 04:13
2
answers

JavaScript in iOS: Avoid clicking events while scrolling on iPhone / iPad

Scenario: I have a table and on the Desktop should I double-click to access the contents of each table item. On mobile devices like tablet and smarthphone double clicking does not work and you need to implement just one click / touch....
asked by 15.07.2014 / 17:59
1
answer

jQuery Ajax does not work in IE8 and IE9

I'm using Internet Explorer 9 for testing and ajax requests do not work (in all other browsers they work). I have this code: $.ajax({ type: "GET", url: "http://cep.correiocontrol.com.br/60441145.json", dataType: "json", succ...
asked by 16.04.2014 / 23:07
2
answers

How to loop with regex in javascript?

Hello everyone, how are you? I'm breaking my head on the following question: I have a string set: var teste = blabla 555.. 999 I have double white space between the digits and did the regex: var str = teste.replace(/\s{2,}/g, '.');...
asked by 09.08.2014 / 05:19
2
answers

How to find special characters that are inside other characters using javascript

I have a string value in json format '{"text": "Look" I "here"}' and that I want to change this quote "I" because it will give error in the code. I was thinking of using JSON.parse and looping in the items, but the JSON function does not run bec...
asked by 12.04.2014 / 11:29
2
answers

Is it possible to execute CSS commands in javascript? HTML

Is it possible to execute CSS commands in javascript? Example, if I clicked a button, would its color change?     
asked by 16.08.2016 / 18:47
1
answer

Go to the bottom of this page

Hello, I wanted to know how to do when the person clicks, it will go to the bottom of the page. If you can teach me, I thank you !! In case it was when you clicked on any of these texts, link     
asked by 27.07.2016 / 16:24
2
answers

Adding and removing elements in an array

I have the following structure: var elementos = ["teste1","teste2","teste3","teste4","teste5","teste6","teste7","teste8","teste9","teste10","teste11","teste12"]; var elementosPossui = []; function carregaTabelas() { carregaTabelaE...
asked by 04.08.2015 / 19:43
1
answer

write json file in the database

Is it a good idea? I was thinking of doing a project where the user will create several elements dynamically (tables, choose a certain option, fill etc), these dynamically generated elements should be saved in the database to be updated, modi...
asked by 05.08.2015 / 02:27