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
answer103
viewsCapture td value and move to a form?
as I don’t know much (almost no javascript) I humbly come to ask for your help, I have a datatable populated by data that comes from the database, and when I click edit opens up a modal that should…
-
0
votes1
answer40
viewsCall slider slide method - jQuery Ui
How do I call the method slide ? $("#slider-range-min-idle_timeout" ).slider({ range: "min", min: 10, max: 60, step:10, slide: function( event, ui ) { $("input:text#idle_timeout").val(ui.value+"…
-
0
votes1
answer110
viewsDropdown Asp.net MVC
I would like to do two dropdown in a view, I don’t want to dropdown through the model in the view because each dropdown is a different class. I made the dropdowns with angular.js only that I failed…
-
0
votes1
answer545
viewscontrol forward and back from browser
I need to make the system not allow moving forward or backward when pressed to Backspace, someone can help me please? Look forward to!
-
0
votes1
answer109
viewsjQuery Autocomplete plugin 1.2.3 limit for query
Guys use jQuery Autocomplete plugin 1.2.3 from Jörn Zaefferer. I wanted to know how to make him perform the query only if I inform more than 3 characters. Calls the plugin this way:…
-
0
votes2
answers112
viewsCopy select and maintain selectedIndex
I’m messing with a Select, where I select your index. The problem that after setting the index I have to put it inside a div. Only it does not receive the index set, it goes with the default. What…
-
0
votes2
answers60
viewsDoubt Data with PHP and JS
Hi I don’t know anything about JS and I wonder if I can edit a field whose value came from the database using javascript? Because I saved in the bank the date of birth and the phone of a…
-
0
votes1
answer155
viewsHow to do navbar slidedown and slideup when der scroll on page
Hello, I’m a beginner in jQuery and I’m trying to configure the navbar of my site so that when you scroll down, the navbar hides and there is only one button for you to open the navbar, and when you…
-
0
votes1
answer150
viewsWith breaking a Base64 string and assigning to input fields
I have a very large and precise Base64 string breaking there in Multiplus up to 20 thousand characters for no errors when sending it via Hidden field. Each broken piece will be sent in separate…
-
0
votes0
answers554
viewsDisplaying alert/context messages with jQuery dynamically beyond . show(); and . Hide();?
During the interaction with a given interface, please see here jsfiddle, some warning messages (nothing involving validation...) are presented. My rather crude approach to display/hide these…
-
0
votes1
answer470
viewsHow to set the value of an element using jquery and conditionally setting a manual value if the value is empty
I have a form, which when submitted, sends data to a modal window. A part of the jquery I have, takes the value sent by the textbox with id "diagnose" and passes this value to the modal window, in a…
-
0
votes1
answer45
viewsHow not to select a particular form element?
Hello, I wish my form didn’t select CAMPO_VALOR, but even using . not() it still returns a form with CAMPO_VALOR. var $form = $("#frmParcelas"); var formSemCampoValor = $form.not('#CAMPO_VALOR');…
jqueryasked 8 years, 6 months ago Fabiano Galdino 55 -
0
votes0
answers85
viewsHow to go through the whole loop
I’m in a little trouble so that the whole radio be filled with everything that is in the according array. I’m trying to do the following, example: 1 - Quanto é 1+1? A) 1 B) 2 C) 3 D) 4 E) 5 2 -…
-
0
votes1
answer29
viewsAJAX overwrites variable
I cannot copy the result to the variable registroJson, I’ve already lost almost a day in this trouble: $(document).ready(function(){ var registroJson = []; var url = 'xpto';…
-
0
votes2
answers620
viewsEnable TAB key for next field in Regexp
Good morning, I am developing a form where I have a field "username", in this field I use this RegExp("^[0-9a-zA-Z \b]+$") , works perfectly, however at the time I use the TAB key to advance to the…
-
0
votes2
answers327
viewssetTimeout or setInterval?
I am wearing one tooltip plugin in jQuery to modify attributes title="" multi-class. Everything was going fine until I realized a problem - I’m using a button that changes class as it’s clicked, and…
-
0
votes0
answers477
viewsTrigger event by clicking on a "tab"
I have a series of "tab" that are generated according to the parameters code: if($i==0 || $i==2 || $i==16 || $i==26 ) { ?> <div class="panel with-nav-tabs panel-primary"> <div…
-
0
votes2
answers11378
viewsHow to check duplicated elements in array?
I need to know if an array in Javascript has duplicate elements. Do you have a function in the jQuery API that does this? If not, how do I proceed?
-
0
votes1
answer12
viewsTogglecss except on some Ivs
I have the following problem: I have a js that adds a certain style in a div or whole html. I would like to know how to ignore some Ivs so that this style is not added to them. Follow the code I am…
-
0
votes3
answers234
viewsError in Jquery pro PHP parameter crossing
I’m making a modal that has its content according to the link clicked. As the content is loaded from BD, inside the modal opening Jquery I made a call in Ajax to a PHP. In this PHP I will access the…
-
0
votes1
answer527
viewsHow to do a period limited search with datepicker?
I have a field data_inicio and a field data_fim. I need to use the datepicker both of us. I want that when I select the date data_inicio, the field data_fim is affected, so that only later dates of…
-
0
votes2
answers75
viewsTake the form information and send it to e-mail
I have a form that I will have to take the information typed and send to my email via java script or jquery but I do not know how to do it so far only Read my form follows the code of my form:…
-
0
votes1
answer111
viewsAdding Event Click on a Twitter Typeahead Result
I have the following js code that prepares a search field using the Twitter Typeahead: var users = new Bloodhound({ datumTokenizer: Bloodhound.tokenizers.obj.whitespace('cname'), queryTokenizer:…
-
0
votes2
answers2182
viewsHow to change the color of the link when you are on the link page accessed
I see many sites that, when the person opens the "ABOUT" page, a CSS is activated that stylizes only that link. I believe it is with JS, and it involves comparison with URL, but in practice I have…
-
0
votes1
answer68
viewsHow to handle a TD using Jquery
I have a value in a TD and I need to recover it, it is a calendar and every date I click from the calentario there is a different class in each date, I need that when I click on that date I can…
-
0
votes1
answer1464
viewsStyle input type file
Is there any way to style an input type file and leave it like this? I tried styling via css but I didn’t succeed. I can’t think of any way to do this.…
-
0
votes1
answer78
viewsOpen different elements js
I would like to know how I can create a function in JS/Jquey which opens a DIV which nay this visible. However, I will have more than one DIV, and I need the JS to identify these DIV’s (I hope I was…
-
0
votes2
answers312
viewsChange class value in jquery at a certain resolution
I’m implementing a youtube video plugin, but I want this plugin in a certain resolution to change a value in your statement. Follows code of example : $('#youmax').youmax({…
-
0
votes1
answer163
viewsjquery element change with time interval
I would like to make 3 or more animation blocks that, when clicking, keep changing according to the seconds, until someone clicks on one of the objects. The function is working to click. Clicking…
-
0
votes1
answer49
viewssmartphone photo in the HTML file field
Colleagues. I have a web-based system developed in PHP and this system is mobile compatible. When I click on the file field, it gives the option to use the camera, but when I take a photo, it…
-
0
votes1
answer626
viewsHow can I make these images slide from top to bottom and from bottom to top with jQuery?
I would like to develop something in jQuery that makes the images of that page each one inside its "square" slide from top to bottom when the mouse is placed on top of the image and back to top as…
-
0
votes1
answer519
viewsJavascript / jQuery methods
forEach / slice.Call() / [].slice() Can someone give me a brief explanation of these methods, and when I can use them?
-
0
votes2
answers8227
viewsMask Percentage and Money field using only number?
I have an html page made for mobile, I would like to put 2 types of mask being % Percentage and R$ Money but I need this field to be type="number" to show the cellular numeric keyboard. I’ve…
-
0
votes1
answer1394
viewsHow to get the number of images in a folder with Javascript/Jquery
I tried to use this function: function getCount(foldername) { var myObject, f, filesCount; myObject = new ActiveXObject("Scripting.FileSystemObject"); f = myObject.GetFolder(foldername); filesCount…
-
0
votes1
answer152
viewsRead XML inside Textarea with Jquery
Good afternoon. I have a normal HTML page and inside it I have a textearea with an XML of the same page. As you can see in the image below the XML is inside a textearea. I need to read and use his…
-
0
votes0
answers213
viewsFunction Jquery returning Undefined
I created a function, but I don’t know why when I call this function the return of it comes as Undefined. follows the code function serviceDetails(id){ //Service of the wall of cards (Grid Home…
-
0
votes1
answer1680
viewszoom in/out button of a div
They know some way with jquery and/or css to simulate the zoom in/out effect of a div. Div does not necessarily have an image. Without the increase/decrease div, simulate this effect for the…
-
0
votes2
answers315
viewsExclusion ajax + jquery
Which correct method to be able to delete, my doubt is being how you get the id based on the table row, and how to send it to a page that actually excludes. The codes I’ve already made will be…
-
0
votes3
answers268
viewsStop multiple jquery events
I have the following situation: $('input[name=buscar]').on( "keydown keypress keyup", function( event ) { console.log('foi'); }); Every time I type, all 3 events are triggered. How do I make only 1…
-
0
votes2
answers837
viewsdata registration via ajax
I’m trying to register data by ajax and the data is not going to the BD. I did a test, direct, between html and php and it worked, but html, ajax and php won’t. HTML: <form method="post">…
-
0
votes0
answers51
viewsHow to work with Jquery Mobile Collapsible and Ajax Synchronous?
Gentlemen, I have a Collapsible that when clicked calls a synchronous Ajax and displays the results within it. I’m having to make when it is clicked display that gif until you get the answer from…
-
0
votes5
answers946
viewsBootstrap: prevent the menu from closing when clicked out of it
I am using the following script so that the dropdown menu of Bootstrap does not close when clicking on some other point of the page: $(document.body).on('click', function(event){ var windowWidth =…
-
0
votes1
answer38
viewsClick on a centered image and drag it to the left link or right link?
This would be the image centered in the middle of the page...right side a link and left another link ...the user would have to click this image and drag to enter the links...…
-
0
votes1
answer109
viewsHow to add time to pass the slider?
Hello, I’m new here and also in jquery. And I wanted to know how to add time to move from one slide to another, here’s the code: <div id="slide" align="center"> <ul> <li…
-
0
votes1
answer97
viewsHide DIV only in IE8
I have a small doubt, how do I hide a div (.laser) only in IE8? Preferably would like to use only CSS or also JS
-
0
votes1
answer228
viewsHow to add 64 base image to the div background dynamically?
I’m having second thoughts, How to place a Base64 background image in a div, dynamically using jquery ? I know it’s normal to use it like this: background-image: url('data:image/jpg;base64,AQUI VEM…
-
0
votes2
answers207
viewsHow to create multiple vectors dynamically with Javascript?
I get on the input screen a value, and I need to build the amount of arrays according to the number I received. Example: I get 64 in the input, so I need to create 64 vectors (arrays)
-
0
votes1
answer372
viewsAspnet change textbox characteristics dynamically
For testing I created a button which calls a function in javascript through onclick(). In this function I would like to change for example the border color of the textbox, even better would change…
-
0
votes1
answer27
viewsAuto-fill the Listbox values as selected.
When the data goes to Listbox I wanted it to be selected immediately: I don’t know why it didn’t work. itensListBoxCatequizandos.append('<option value="' + obj.val + '"> ' + obj.name +…
-
0
votes1
answer667
viewsChange background color of jquery multiselect plugin
Guys I’m using the Jquery multiselect plugin https://plugins.jquery.com/tag/multiselect/. It occurs that it is generating me two difficulties. The first difficulty is with CSS: I need to change the…