Questions tagged as 'javascript'

1
answer

Get service html and display DIV on my site

I have an Ajax function that returns me the html of a service I have exposed, I would like to get this html and put it inside the DIV of a my site. My function is already catching html, however it displayed the html within the DIV would like...
asked by 24.03.2016 / 15:56
1
answer

Should I keep the void on the link or can I leave it blank?

I've seen some links that contain the following syntax: <a href="javascript:;" id="el" onclick="acao()"> As far as I know, in some versions of IE this causes an error, so I ask if I should correct it by doing this: <a href="java...
asked by 28.03.2016 / 14:40
1
answer

How to read an ID from a DIV, and put in a VAR?

Friends, In my page, with this DIV listed below, I would need to "read" the id that is in the < the id="memo-list-delete-6_2544_0"> or the value "memo-list-delete-6_2544_0" and put in a variable to use later .. like do this with JS?...
asked by 25.03.2016 / 07:23
2
answers

Check if URL exists

I would like to know how do I validate (if there are) a member's URL's, I am using AngularJS , AJAX and http requests however I can get the status of a URL that I created in a mock, but I can not check a URL if it is external...
asked by 17.04.2016 / 16:08
1
answer

Select td based on text

I have a table where I want to select the td's that contains certain text. I've tried options like: console.log($("#minhaTabela").find("td[value='A']")); console.log($("#minhaTabela").find("td[text='A']")); console.log($("#minha...
asked by 13.04.2016 / 22:19
1
answer

Changing the css of a div with Jquery mouseover

I need that, if the mouse is not on top of a div, after 4 seconds it disappears, changing the css. How to do this with Javascript / Jquery?     
asked by 15.04.2016 / 02:14
2
answers

How to do after a while the color of a div change

Well, my question is this. How to make a timer on a website, with a countdown of 30 seconds (Real time), and when it reaches 0, the color of a div changes, even if no one is on the site, it has to happen. p> How can I do this? Thank you....
asked by 13.02.2016 / 11:08
3
answers

fill field select javascript / jquery

Hello, I need to fill a select field with the return of this function, in this example, the variable RES returns: <option value="">setor 1</option> Just this, I need it to become one of the options in my select field, but nothin...
asked by 19.05.2016 / 22:10
3
answers

Javascript - Problem in function that adds textbox

In my page in PHP and Javascript, I created a space that contains two Textboxes and a clickable label to add more Textbox, if necessary, to the numPart div: <div id="numPart"> <div class="inputMGM"><input name="part" id=""...
asked by 23.05.2016 / 15:45
1
answer

How do I change the color of the progressive bar when an error occurs?

How do I change the color of the progressive bar when an error occurs? <div id="divMenu"></div> <div id="divModals"></div> <div class="container"> <label for="cliente">Arquivo</label> <div c...
asked by 25.05.2016 / 22:54