Most voted "jquery" questions
jQuery is a Javascript library focused primarily on DOM handling, event management and Ajax, seeking to free developers from directly dealing with a number of browser compatibility issues.
Learn more…11,371 questions
Sort by count of
-
0
votes1
answer40
viewsProblem capturing element position when there is a scroll in jQuery
I’m having a problem when element is on the scroll browser and jQuery does not correctly capture the position, I created a simple Tab-bar and when the size is other past is placed the scroll and at…
jqueryasked 8 years, 9 months ago iLeonardo Carvalho 561 -
0
votes0
answers268
viewsSelect2 options disappear when selecting a
I am using Select2 to load data remotely and it is bringing the results normally, but when selecting one of the returned options all existing ones disappear and I could not identify why, follow the…
-
0
votes1
answer85
viewsFields to be filled in automatically
I have a form where the user as he fills the fields, the information appears in a div to the side. See: This same form has an automatic ZIP code search, that is, when you type the zip code, it…
jqueryasked 6 years, 1 month ago user24136 -
0
votes2
answers81
viewsGrab an inline style value
If we consider an inline style HTML tag like this: <li style="width: 360px; float: left; display: block;">conteudo</div> it is possible I take only the value of the width to make a…
-
0
votes1
answer63
viewsHow to generate a pdf of the graph generated by Treant JS
In my system I have an organization chart generated based on Treant JS and I would like to export as PDF, but exploring through the plug-in page I did not find anything related, anyone knows any way…
-
0
votes1
answer1457
viewsHow to get form values before Submit with jQuery?
There are ways, before the form is sent, I can get the values of each form input using jQuery?
-
0
votes2
answers188
viewsMessage with a confirmation question before completing the click event
I am developing a task management system in which changes are made to fields in the database depending on certain buttons we click (Via Ajax and PHP). I would like, when clicking on a button, to…
-
0
votes1
answer73
viewsPost with no fronend
I’m trying to make a Post of a form info but I don’t quite know how to do. This is my C form# : @using (Html.BeginForm("Enviar", "Mensagem", FormMethod.Post, new { enctype = "multipart/form-data",…
-
0
votes1
answer78
viewsFailure to use JSON on INTEL XDK
I’m making an application on INTEL XDK, in which I need to connect to the database. I created PHP to return with JSON and on Intel, I made the function to return such data. But the application is…
-
0
votes1
answer645
viewsHow to limit the amount of impressions from an HTML document?
Precise limit the number of printouts of an HTML document. Currently if the file is generated (via PHP), record in the database a flag sts_impresso = 1, however, there are times when the user has…
-
0
votes1
answer298
viewsReturn controller error to JS (Jquery/Ajax)
How to check error on a call return Jquery by ajax for a controller. This return did not come formatted as you would like, just checking the custom fields. $.ajax({ type: "POST", dataType: "json",…
-
0
votes1
answer20
viewsHow to achieve a web table optimized for displaying about 100 thousand data
I have a service to do and I need a table optimized to work with large amount of data, about 100 thousand Rows at least... In which the person is typing and filtering the data We have some but it…
-
0
votes1
answer3286
viewsPopular table with data from a JSON
Hello, I need to popular a table according to what the user chooses in an input range, example in the range he chooses the value R$200,000 ai at the end of the form fill returns me a table (made…
-
0
votes3
answers98
viewsHow to select a specific ul with jquery
$('.menu-expand').click(function () { $(this).find('ul').toggleClass("menu-mobile-expandido"); }); I would select not any ul, but the first ul within the class .menu-expand. I tried to use…
-
0
votes1
answer49
viewsHow to hide gid line with jQuery in checkbox checked?
Look at the picture; In the image above shows that by clicking the button Show non-compliance Does not apply it hides the two checkbox on the grid. But what I need is quite different, I need that…
-
0
votes1
answer64
viewsjQuery Datatables go to a page
I need to guess in my jQuery Datatable a function so that the user says he wants to go to page 9 and he is redirected. I used the following function: $('#btnIrAtePag').on('click', function () { var…
jqueryasked 6 years, 1 month ago Weliton Junior 41 -
0
votes0
answers94
viewsChange Text through a class
Good morning everyone, I’m trying to change a text of a link on a Wordpress site that is the name of a category, but when I update the page using the code below is displayed quickly the old text and…
-
0
votes0
answers62
viewsBox of two form options
I have a form that presents a box that has two options, one represents accepted and the other unaccepted. It turns out that when the user uses to send the email he can send even with the button…
-
0
votes0
answers46
viewsregex for password
I would like to know how to make a regex that contains at least 8 digits being mandatory 1 digit with @!# 1 digit in capital letters and a digit with numerals from 0 to 9 tried something with the…
-
0
votes1
answer213
viewsValidation of a CPF
was doing CPF validator on Js and wanted to know how I can verify if it really is from an existing person and not just by default of the calculation made: https://jsfiddle.net/Lucaskazama/t5fhwn23/…
-
0
votes3
answers47
viewsPHP data in Javascript document
Good afternoon. I have the following code in PHP, rather simple: <? include("conexao.php"); $sql = mysql_query("select top 1 * from grafico_tb order by data_referencia desc"); $dados =…
-
0
votes1
answer57
viewsDatatable bootstrap Options
I have a table, I want it to have a scrollX, when it reaches a maximum size limit. the problem is that it is giving reboot error. Then I researched the saw, that the problem was that I was starting…
jqueryasked 6 years ago Rafael Passos 527 -
0
votes2
answers50
viewsCheck if the code exists on another site (remote Extract)
Good afternoon, you guys! I need to check some existing code on other sites.. type a widget the person will copy my code and put on her website, so I need to check if this code exists on her site…
-
0
votes3
answers85
viewsAjax code is not working
I am starting in ajax and I have had difficulty understanding the error you are giving in this example. I click on the button and no action is taken. HTML: <html> <head> <script…
-
0
votes2
answers178
viewsDestroy Angularjs function
I have a page in my project that contains several categories and in each category, has a Flexslider with images. Each category is displayed once and when clicking another, the previous one is hidden…
-
0
votes1
answer77
viewsjQuery load access denied
I am facing a problem already known by many, in IE it is possible to use Activex to get the user logged in to the network. In Chrome this is not possible and after many searches I got the same…
-
0
votes0
answers23
viewsForm does not send by IE, nor by firefox
My form is only sending by Chrome, I would like to understand the pq. It uses the normal post method, only that I have this JS that depending on the value that is there, it sends the user to the…
-
0
votes0
answers98
viewsAjax does not work in phonegap
Hello. I am a beginner and I am trying to develop an app. There is a form in the app, and I used ajax to make the request. Works normally in the desktop browser, but not in the app or simulator. I…
-
0
votes2
answers464
viewsHow to Use Masks in Ajax
I am developing an application and I am going through a difficulty when it comes to using Ajax, along with a plugin inputMask. I have some masks configured, but when it comes to using it in Ajax…
-
0
votes1
answer928
viewsMobile menu does not close when you click
People would like to know if it is possible to close the mobile menu when clicking the link because when I expand the menu it opens normally after I click on the link it goes to anchor that I…
-
0
votes2
answers22
viewsbackgroundColor is not working on Chrome (Jquery)
Good morning guys, I’m taking a jquery course and when doing some tests with multiple css statements Chrome runs the part of backgroundColor, but both in firefox and ie work without problem, until I…
-
0
votes1
answer224
viewsJavascript or Jquery, onblur event
Good morning, I want to update the database with the information I type in the input, as soon as this input loses Focus with onblur I want it to send the data to the php page that will update the…
-
0
votes0
answers84
viewsChain execution with Jquery
I have a link that when clicked generates a modal, in this link contains an address that contains an id that is generated dynamically to each new registration the link of the page and the same of…
-
0
votes1
answer191
viewsJcrop .. doubts to save image
I’m developing a system, and in it the user can cut an image (I did with jcrop) but after the user cuts it, it appears on the screen. What I’d like is that right after he cut it out, I can pick it…
-
0
votes0
answers124
viewsThe result of the cropped image appears gray
I’m trying to make a system in which the user selects the image, so it cuts and at the end has to appear in my folder the cropped image... From now on I thank you all!!! <!DOCTYPE html>…
-
0
votes1
answer28
viewsHow I remove the typeahead autocomplete and leave only the suggestions below
$('.typeahead_oque').typeahead({minLength: 0}, { source: categoriestextFunction, name: 'categories' });…
-
0
votes1
answer17
viewsDeregister Scripts Wordpress (wp-includes)
In the wordpress frontend is loaded an array of scripts that are included in the directory wp/includes. Such as: wp-includes/js/jquery/ui/core.min.js wp-includes/js/jquery/ui/widget.min.js…
-
0
votes1
answer166
viewsAdd and Remove Divs Function with PHP and jQuery
Good morning guys, I’m facing a problem and I’d like to know if anyone can help me. I have developed a code to add and remove Divs dynamically and with autoincrement and decrease of the index. The…
-
0
votes1
answer79
viewsHow to make changes using jQuery within an iframe on another domain?
Hello I need to upload a partner site within my site. However I would like to make changes to the stylization using jQuery preferably. I found the solution below to manipulate the elements.…
-
0
votes1
answer188
viewsValidation with Parsley and Modal window
I have a problem, and I can’t fix it. I have a button that when you click on it displays a message to the confirmation user, it turns out that before opening this modal I would like to validate if…
-
0
votes1
answer118
viewsCalculate expenses per day and display on the chart [JQUERY]
I am doing a school job that consists of implementing a web app (mobile responsive site first) to store in the Local Storage API spent by the user. Minimum resources: Add an expense: description,…
-
0
votes1
answer25
viewsCreating a function for highslide
I’m using the highslide to open the internal pages. What sucks is that he has the command onclick very large: <a class="btn btn-success" href="comercialContatoAdicionar.php?i=2a" onclick="return…
-
0
votes0
answers83
viewsShow Difenrentes Div with Foreach
I have a Home page that lists Projects, each div has a different class from the other, for example, the first project, shows an image, which is in a div that has a class col-lg-6 col-md-12…
-
0
votes0
answers55
viewsIs it possible to use Datatables without jQuery?
I am doing a project that I will need to put a table and I will need to put some filters, which Datatables already comes with some. So I was looking at how it does to be able to use Datatables in my…
-
0
votes3
answers948
viewsLimit maximum number of lines in a textarea
I have a textarea where I have limited the amount to 3 lines in the "Rows" property. However, this maximum amount is not being respected. Is there any other way not to allow more lines to jump?…
-
0
votes0
answers305
viewsMysql SUM function and return data
The function below does not return me the expected. I want her to return a sum and the fields with the id colaboador , but in Javascript I get an error, and I believe it is in PHP. select works…
-
0
votes1
answer157
viewsSearch data using PHP and AJAX with jQuery
Hello, I have an HTML page with a form, the form has 4 fields, on this page I want to fill the fields (randomly) and search the data according to what I filled. For this I am using AJAX with jQuery,…
-
0
votes1
answer260
viewsHow to know if a div does not have the Hidden class with jQuery
I want to make a denial in the if,in this case below I want to see the div that has NOT the Hidden class. I’m trying this way: function AddFiltro() { if ($("#divcamponiver:not(:hidden)")) {…
-
0
votes1
answer51
viewsFunction to rearrange values in a group of 5 fields of a form, using jQuery
I have 5 fields of a form and I would like to, through a function, rearrange the values of the form so that the first fields are filled and the last empty ones, according to the values existing in…
-
0
votes0
answers32
viewsTake only the repeated value of an Array
I would like to take only names that repeat in an input array of type text. For example: ['Daniel', 'Sarah', 'Mary', 'Daniel', 'Philip'] Return the 'Daniel''. Follow the Assembly Code of the array…