Questions tagged as 'jquery'

2
answers

Validate RadioButton with jQuery

I would like to do a validation via jQuery, to see if the client selected some RadioButton JSFiddle Demo It displays an alert if it has not been selected, but it still submits, should not. HTML <table id="RadioButtonLis...
asked by 30.06.2014 / 19:31
2
answers

Receive responses from the jQuery Ajax request

When I send an Ajax to run the script from my PHP the only thing it returns is success if the script was executed successfully or error if the script did not run successfully. Question: How to capture response from PHP and return this response t...
asked by 02.08.2014 / 14:27
2
answers

How to make jQuery .load only load content inside the main?

How could I do to make the .load function instead of loading the content of <body> just load the contents within <main> ? My jQuery: // Checa se a página foi carregada para evitar aplicar os códigos antes de...
asked by 15.08.2014 / 04:47
1
answer

Select label through .find

I'm trying to create / adapt a tree list , however I'm not able to expand my list by clicking on a label. List: <div id="listContainer"> <ul id="expList"> <li style=""> <label style="margin-...
asked by 19.09.2014 / 11:04
1
answer

Change background according to the image

I need to create an effect in my slideshow that for each image, the background of div changes color according to the predominant color of it. I searched the internet for a plugin that does this, and I found Adaptive.Background.js ....
asked by 14.10.2014 / 20:42
1
answer

How to move a graph (Highcharts) using the arrow keys?

How do I move a chart using Highcharts? Instead of moving with the mouse to the right and left, I would like to use the directional keys (right arrow, left, up, and down). link This example uses the mouse to move; I need to do with th...
asked by 04.09.2014 / 20:41
1
answer

Element input and output CSS animation when scrolling the page

I'm making a div appear with input animation when the scroll reaches a point on the page, the problem is that I can not do the output animation when the scroll returns. The <div class="box"></div> has the following CSS: ....
asked by 11.09.2014 / 10:31
1
answer

Running background processes - Accessing same script twice

I have a PHP script that aims to integrate with a third-party system. Basically, my script sends image and text files to the client ftp. To ensure processing for a long time, I use the following statement: ignore_user_abort( true ); // N...
asked by 15.08.2014 / 22:26
1
answer

What is apply () - jquery

I would like to know what the apply() function in jquery is for. I'm creating a plugin where I'm using. By observation I see that it takes this and passes as argument in function init . Then I can use this instead o...
asked by 12.05.2015 / 22:20
1
answer

Position cursor

I have a function with JQuery that leaves the textbox in uppercase, the problem is that when I have a mask in the field, after typing any character, the cursor goes to the end of the textbox, then the user has to go back and type again, and the...
asked by 04.05.2015 / 22:37