Questions tagged as 'jquery'

1
answer

Passing link to php include with jquery possible?

I have a page in php that requires header , sidebar , and footer , but content body would like to pay dynamically by passing the link to require via jquery, I do not want to work with framework since it will be a small p...
asked by 06.11.2017 / 17:20
1
answer

change color of element clicked

I need to change the color of only the element that was clicked, in case I change the background color of the div - it is cloned several times creating more div in html depending on how much is needed - in all cases I did using parent and siblin...
asked by 06.11.2017 / 19:01
1
answer

Datatable Jquery Print Specific Elements

How to print specific elements from outside the datatable? Here is a sample JSFIDDLE I wanted when I hit the PRINT button, this div below is also printed <div id="PRINT_HERE_TOO" class="test"> <h1> Pr...
asked by 06.11.2017 / 15:44
1
answer

Check changes in a table html

Good evening. I have a table that I get via cURL. It refreshes every 30 seconds, and displays in an html. This table has the status of a character in a game (dead or alive). I wanted to know how to generate an alert for each row of the table...
asked by 06.11.2017 / 03:20
3
answers

Remove attribute from a DIV only in the mobile version

I would like to rembrand the href of an element only in the mobile version, which would be at 769px, the href I would like to remove is from a menu, this menu is the same as the desktop version, it only gains another css upon entering 769px, I t...
asked by 16.10.2017 / 20:43
2
answers

Calculate the end of the screen

Well, I have a button that opens a div . If this button is in the middle of the screen , then I open the div p> If the button is the end of the screen and when you open the div div below the button . But How to calculate...
asked by 10.10.2017 / 14:39
1
answer

Why does DELETE give error?

I have the following function in jquery that gives the delete in the registry. It even deletes the record but does not go to success , it goes to error . Why? function deletar_cliente(id_cliente) { var mensagem_sucesso = "";...
asked by 04.10.2017 / 22:49
1
answer

Keep div on screen

I would like to know how to make a div animated (I have JQuery keydown function that moves a div) but div exits the screen and I would like it to be up to 20 px from the margins. I already exprimentei put this div (div1) ins...
asked by 28.09.2017 / 13:26
1
answer

Javascript - Logical Manipulate Array Data

I have a very complex logic problem. I have to compare 4 arrays and get them to work together. I'll explain better Example of how you can come: var mesA = [ "fev", "mar", "jun" ] var valorA = [ 50, 50, 50 ] var mesB = [ "jan", "fev",...
asked by 05.10.2017 / 17:19
1
answer

Email validation via jQuery

I'm trying to do a validation in an email field, I even "can" do, but it's not 100% functional, I'd like to cancel the button with the disabled attribute until the user places a valid email , I get the button to cancel, but when I type the corre...
asked by 06.10.2017 / 21:58