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
-
1
votes1
answer799
viewsSend view to controller values by jquery
I am making an application in . Net C#, and wanted to do an input and a button that sends the information to my controller for jquery/ajax, and I have no idea how to accomplish this, I need to pass…
-
1
votes1
answer130
viewsDisplay error in jquery mobile table
Hello, I’m trying to display some data that caught by ajax and put them in a responsive table using the Jquery Mobile framework. The problem is that, the first time I do the operation, it works…
-
1
votes0
answers298
viewsCommon bootstrap tabs/pills content
Bootstrap tab/pills and tabs content are almost equal, differentiating only a few fields. There’s a way to make the most of what they have in common? <ul class="nav nav-pills"> <li…
-
1
votes1
answer2112
viewsWhy shouldn’t I use Jquery with React?
What would be the downside of using jQuery with React? Because I am transforming a site that is all jQuery for React and I see in many forums people saying that it is not a good practice to use…
-
1
votes1
answer140
viewsHow do I know if an element has the html or value property?
I have two elements that need to be updated a DIV and another INPUT One has to be updated value and another html, example ... $.each(json, function (index, value) { if (typeof $("#" + index).val()…
-
1
votes1
answer113
viewsClear Html Tags from an input result, with the exception
How do I remove all html tags from a string with exception? Ex: var exemplo = "<div><p>Leno<span> Sousa</span> <i></i>var exemplo =…
-
1
votes1
answer663
viewsPull API Rest data and display the data on the screen
I can make an ajax for the service and return the data, I can display the first object Product and its properties, but when there is another object inside Productimage that has more than 5 objects…
-
1
votes1
answer613
viewsCalculation of Order for Sale jquery items
I am with a problem that I am not able to solve I have a sales order screen where it has to do the quantity calculation X unitary value = (fill in the total value and add in the total order), how do…
-
1
votes2
answers271
viewsjQuery with Internet Explorer
I have this code that works perfectly in Firefox, but I can’t make it work in IE. The user can only choose 10 drives in total and when it reaches 10 displays one alert(). Does anyone have a better…
-
1
votes0
answers44
viewsimage appears in explorer but can not view
I’m uploading files with Html5, ajax and php. Everything goes well, the recording in the bank is done, the upload is done, but the image, when you see it in windows explorer, even if it is there,…
-
1
votes1
answer62
viewsOpen page in a particular section
I’d like you to click a link (e.g., sports cars) to the new page, as soon as it’s loaded, run an animation up to the location of the "topic" sports cars. Follow my project:…
-
1
votes1
answer117
viewsOnly call the function if you click on Parent and not on Childrens
I have the Following div: <div class="sub-menu"> <ul> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> <li><a…
jqueryasked 8 years, 5 months ago Hebert Lima 987 -
1
votes1
answer318
viewsEnable buttons in columns of a table with jquery
I need to enable the row buttons of a table whose contents in the first column are equal to the value I have in a variable. I’ve tried many ways but it doesn’t work Follows the code:…
-
1
votes0
answers49
viewsLogin jquery does not load the page after authentication
please, this function does not load the page. The return is correct, the code enters the if loop, but it does not load the page that should be Location. What can it be?…
-
1
votes0
answers113
viewsHow to change the color of Navbar according to each section?
all right? So I’m having a hard time changing the background color of Navbar according to every Section I visit in Html with Scrollbar through JQUERY. Navbar is fixed. The code goes something like…
-
1
votes2
answers48
viewsSeparates result within each
I have an ajax function where I read the data within a $.each() , the image above contains the result of this each. I am trying inside this same each to separate in two arrays the data that coincide…
jqueryasked 6 years, 6 months ago Carlos Lopes 185 -
1
votes2
answers2021
viewsHow to check whether elements of an array are contained in another Jquery array
How can I check if elements of an array are contained in another array? ex: array_1 = ['wifi', 'internet']; array_2 = ['wifi', 'internet', 'telefone', 'email'] How can I know if the values of the…
-
1
votes1
answer89
viewsTransmit information between html pages with jQuery?
Good afternoon, all right? In my project, I have a list of properties, all different from each other. When clicking on any of them, one should open a page of details with unique information…
-
1
votes1
answer45
viewsProblem logout with Google social login
I’m having trouble running logout with Google social login. I managed to set the login and run successfully receiving the return of the name, email and photo, and redirect to Dashboard successfully.…
-
1
votes1
answer38
viewsClip property
I’m using the property clip in a tag to cut at the bottom of it, however this image will be dynamic, the width size is fixed but the height size will be dynamomic. So if I have an image with height:…
-
1
votes3
answers97
viewsParagraph count
I need to pass a script to a site where in the content, between the 3 and the 4 paragraph, an advertisement appears. I can read what the 3 paragraph of a text and insert a DIV after it, with JS or…
-
1
votes0
answers161
viewsEvent fired twice in Jquery click
I am on time having problems with jQuery events. I have used all the best practices to stop the double event of click. Following are examples: .off() e.preventDefault(); e.stopPropagation();…
-
1
votes1
answer1174
viewsProblems loading a Datatable in Page Load with Javascript
I’m a beginner with Javascript and I’m having a problem when the Datatable of my Index is loaded. If I open a section, on my Index, and put the JS code inside it, everything works perfectly. @{…
-
1
votes1
answer44
viewsI’m trying to print the x on the screen but gives error in data table
I’m trying to make a table puts an x in the file location. The table code worked, but I want to put in a jquery datatable but it is not accepting it takes the plugin confg or error the table code is…
-
1
votes3
answers28
viewsHow to access the data-opened property of each div that is inside an array ? Jquery/Javascript
How to access the data-opened property of each div within an array ? <div class='bares' data-opened=1></div> <div class='bares' data-opened=2></div> <div class='bares'…
-
1
votes1
answer658
viewsDatepicker Do not select certain dates
I’m unable to make this code work, I want some dates not selected in datepicker. Now it is not working anymore, does not open the window to select the dates someone can help me? $().ready(function()…
-
1
votes1
answer126
viewsI would like to know how I can make a select with every Friday of the year in mysql for example
I’m developing a calendar, and it will be used to schedule meetings. There are sectors, such as the T.I sector, which meets every Friday from 9:30 to 11:30, throughout the year. I need to somehow…
-
1
votes1
answer31
viewsInstead of the ajax command being on the page, it is being directed to php page
$('#formCadastrarProdutos').submit(function() { $.ajax({ url: '../crud/cadastro_produtos.php', type: 'post', data: new FormData(this), cache: false, contentType:…
-
1
votes1
answer146
viewsprint variable Java script within HTML
how to print the variable click inside the Html <script type="text/javascript"> $(".j_requerimento").click(function(){ var click = 1; $(".j_label_requerimento").append("<span>IMPRIMIR…
-
1
votes4
answers659
viewsSubmit does not call function
After changing the code, I left this way but I analyzed the browser console and realized that the Submit button still not calling the function: <div class="container"> <div…
-
1
votes0
answers555
viewsBootstrap with cellular-aligned navbar
I have the following code defining a navbar with bootstrap: <nav class="navbar navbar-default"> <div class="container"> <div class="col-xs-1 hidden-xs"> <div…
-
1
votes1
answer132
viewsDisable field by clicking the checkbox
How do I disable a field by clicking the checkbox option?
-
1
votes2
answers2093
viewsValidate if the string has a certain character [JQUERY]
I need to receive an input string for example "Jose_silva", as I do to validate if the string has "_" in it.
-
1
votes2
answers112
viewsHow to lock commit via an ajax request by a bind() event on button
The ajax request, returns me "1" or "0". Every time I click the next button, but it is not blocking the commit. As I should do to validate the values, if I have a "0" answer, it should lock the…
-
1
votes1
answer526
viewsSearch field of jQuery datatable
I’m using the jQuery Datatable component. In the visualization in the computer the table with the search field is ok, but when viewing in the cell the field exceeds the panel where it is inserted,…
-
1
votes0
answers92
viewsHow to make inheritance with Javascript / jQuery
I have a question about how to use inheritance with Javascript / jQuery (if possible), I did a search but found confusing materials of gringos who could not help me. Let’s go to the classic example…
-
1
votes2
answers39
viewsContent is not shown after clicking
I made a li that when clicked, should show the content present within a div that’s like visibility:Hidden. As I’m calling the JS. $(".buttonShowContentSinopse").click(function() {…
jqueryasked 8 years, 5 months ago Felipe Viero Goulart 3,693 -
1
votes2
answers365
viewsCompare two objects in JS/Jquery
In my application, it has several categories of a particular item, in each category is created blocks related to that category, so far so good, but whenever I click to change the category and go…
-
1
votes1
answer1293
viewsHide mobile menu after clicking
I’m having trouble hiding the menu in responsive mobile mode. There is something wrong, when I click on the link the menu disappears, but when I click to open again is giving a bug, it opens and…
-
1
votes1
answer141
viewsBrowse input ng-repeat fields Angularjs
/* Retorna produtos banco de dados */ $scope.produtos = []; var carregaProduto = function () { $http.get("app/models/retornaProduto.php").then(function (response) { $scope.produtos = response.data;…
-
1
votes2
answers247
viewsSend Dropdown Value to Iframe
How do I send a value from a Drop Down to a [IFRAME]? I’m reclaiming the value like this: function mandaIframe() { pai = parent.document.form1; // especifica o elemento de id="formularioX", dentro…
-
1
votes3
answers992
viewsConcatenate elements
I’m having trouble concatenating the elements below. I have the variable valorID which is used as id, in div, and I’m trying to insert it into id and valorPosicao for the attribute left, of inline…
-
1
votes1
answer132
viewsHow do you make the iCloud dynamic background effect?
How can I do the effect of the login with the background as the iCloud when changing the size of the browser? If you repair the overshadowed objects change their position depending on the size of…
-
1
votes1
answer40
viewshow to add an image only in the checkbox marked
I wonder how I can add an image with append only inside the span.abcd that is next to the checkbox marked. HTML <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12"> <div…
-
1
votes1
answer61
viewsHow to generate Jquery load bar
I need to show my user during an Ajax request the status of the same divided into 6 steps Ex. 1° : Gerando arquiv 2° : Arquivo Gerado 3°: Conectando FTP 4º: Conexão realizada 5º: Enviando arquivo 6º…
-
1
votes1
answer289
viewsReturn ASP 3 array and select popular with each JQUERY
I need to popular a select (Html). I believe the step would be this, but how to do it? Someone has a link that can direct me? Click on select (Onchange maybe) Put the Query (Query) data into ASP in…
-
1
votes1
answer99
views -
1
votes2
answers705
viewsCalling form submission by function
I am trying to send a form through a function. It follows the structure. form with id: nickname input with id: surname event keyup in input. onkeyup="$(this).check()" Javascript (function($) {…
-
1
votes1
answer70
viewsHow to disable Validations when doing a Submit in the Dropdown Change event
I have a modal with a dropdown, where, whenever an option is selected, a Ubmit is made and the model is sent to the action to be edited and then returned. The problem is that Validations get in the…
-
1
votes1
answer29
viewsHow to pass a Javascript value, to a PHP form, and submit as a POST method?
How to pass a Javascript value to a PHP form and submit as a POST method? I have a script: if (cc.isValid()) { $('#debug').text(cc.hash()); var verifica = cc.hash(); // $('#debug').text(verifica);…