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
answer46
viewsHow do I pick a line from a field that has no bounds and break into an array?
I have the code that takes a string from a field in the example below: material plant part flow light This string has no delimitations and on top of that, as you can see, the words of the string I…
-
-1
votes1
answer300
viewsAccent x JSON(Jquery)
How should I proceed in Jquery so that the return request via json is / is with the correct accent? Current: "Monday, 12 de Março de 2018" Precise: "Monday, March 12, 2018" I’m trying to…
-
-1
votes1
answer638
viewsJavascript - Opening new window with new tab
Good evening, I wonder if it is possible to open a new window with the method window.open();, and a new tab in this window created ? All this in Javascript, jQuery or HTML.…
-
-1
votes1
answer46
viewsDoes anyone know how to make a background animation like this site?
Hello, folks, below is the website: http://8guild.com/ Does anyone know how to do this background? If you have a tutorial I thank you, I have searched a lot and found nothing.…
-
-1
votes1
answer554
views -
-1
votes1
answer57
viewsHow to access a json with jquery being passed by php
I’m passing a json to my view and I need to play inside the full Legends Vents, but I don’t know how to access this json through my URL in my localhost the view path that gets json is this…
-
-1
votes1
answer138
viewsGraphic in css or jquery
It is possible, via css, html or jquery to create a chart like this? Actually, the problem is making the arrows. If anyone has ever worked on something like this to shed light, I thank you.…
-
-1
votes1
answer793
viewsPass PHP array via Jquery
Good evening, I’m not getting past the values of a array to another page via jQuery (do not know if this is possible) to update the data, I have the following code: <script src="js/Jquery.js">…
-
-1
votes1
answer94
viewsEmpty function inside another to run script from another file
I have a file called funcoes.js and another one called eventos.js need the script that is written inside events.js to be executed inside functions.js in another function, but in the order that it is…
-
-1
votes1
answer1469
viewsProblem with multiple forms on the same page
I wanted to use a script for several forms, but I’m not getting it. So I’m generating a script for each form with unique Ids for each field and form. I’m not able to inhibit the behavior of the form…
-
-1
votes1
answer76
viewsAvoid "nervous finger" switch button change
I have a switch button, and I want to do a post every time it changes from true to fake. But I need to keep the guy from clicking over and over again. And just make the change from true to false…
-
-1
votes2
answers1203
viewsHow to prevent the number being less than or equal to 0 in an input type number?
Good night. I have an input type number (so when I list my shopping cart can change the quantity) <td> <input type="number" style="width: 50px;" id="<?php echo "p" . $a; ?>" min="1"…
-
-1
votes1
answer3956
viewsRun function after 3 seconds Jquery/Javascript
I have the following code, which creates two variables and I call a function that displays an Alert, but I want the function verifi_aperture() to be executed after 3 seconds, how to do this? var…
-
-1
votes2
answers716
views -
-1
votes1
answer35
viewsChange from javascript to jquery to codeline 2
How can I select element number 2 using jquery? I am selecting with javascript but would like to use Jquery. 34m 1- var hiddenFieldName = ‘UIHiddenFieldSubjectValidaty’ +…
jqueryasked 6 years, 10 months ago Jesus Neves 5 -
-1
votes1
answer188
viewsEvent when closing tab/browser
Good guys blz, I wanted to know how to call an event when I close tab or browser and when to close I wanted to update mysql ex: logged in=1, then when it closes update to log in=0
-
-1
votes1
answer37
viewsDrag drop jquery ui dialog box/ html / css
People in one application would like to basically drag a div that is inside the dialog box and put it in another one. When trying to do with my code the div tends to disappear when I start to…
-
-1
votes1
answer96
viewsHow to build a checkbox list from an array?
You guys talking, Blz? I am a beginner in web programming and am doing a hybrid application for mobile devices, I would like to know how to fill a list with the name of an object and its id inside…
-
-1
votes2
answers580
viewsajax function returns [OBJECT OBJECT]
Good morning, you guys. I got a problem. I set up a function to bring some results in the Onchange of a select via ajax The problem is that this 'Qtde' input is printing the following msg [OBJECT…
-
-1
votes1
answer101
views<? php wp_head(); ? > = FIXED when scrolling in wordpress?
Hey, guys, I was wondering how I can get my menu fixed when I scroll the browser, regardless of the theme I’m using, until I’m using a free Customify theme and I saw that it doesn’t give me that…
-
-1
votes1
answer242
viewsBlock a button after displaying jquery validate message?
I would like help with the jquery validate, I am doing a js exercise and would like to increment and block the send button when displaying the validation message. In theory I already finished the…
-
-1
votes1
answer998
viewsView data in real time
I am trying to display a data taken directly from my database with this script: <script> setInterval( function contaUser(){ document.write,("<?php $sql = "SELECT Count(id) as c FROM…
-
-1
votes1
answer260
viewsApply mask when typing in input field, when typing a number show asterisk instead of numbers or letters
how do I apply mask in input field, when the user is typing instead of appearing the numbers/letters I want to appear in this input field the special characters (*). Example: 999*****99.
-
-1
votes1
answer52
viewsrun Function even if input is disable - Jquery -javascript
wanted to run an Alert if Submit input even if input is disabled follows the code. <input type="submit" value="Cadastrar" class="col-md-12 col-xs-12 col-lg-12" id="submitCadastro" disabled="">…
-
-1
votes1
answer34
viewsProblem with button click event
I need to pick up the event by clicking a class button btn-remove, however, is giving the following error: Uncaught Referenceerror: $ is not defined <html> <head> <meta…
-
-1
votes1
answer1762
viewsValidation if any form input has been changed
I need to check if the form has changed, that is, if any input data has been changed, etc. So that when you do the submit, or leave the page, perform some button click, or the menu be informed to…
-
-1
votes1
answer42
viewsClick on information, display a text field, change information and save automatically
How can I make the user click on information coming from BD, this information becomes a text field, the person changes the information and when click outside the field, save automatically? As in…
jqueryasked 6 years, 6 months ago user24136 -
-1
votes3
answers4737
viewsCapture text within a <td> via jQuery
How do I get only the amount (R$11,20)? <td class="monetary" databind = "text: value label, visible: $parent.isShippingKnown()">R$11,20 </td> It didn’t work, and there’s this other…
-
-1
votes2
answers414
viewsCheck if it contains characters in the string
When I use teste.length it returns me the size, but how do I check if it contains no character? For example: var teste = (como se o usuário tivesse clicado **2x** no **enter/espaço**); Soon…
-
-1
votes1
answer443
viewsReadonly does not work
By dynamically including an item in table, I want to leave the field cbempresa with the readonly=true and when there are no items in the table he needs to be readonly=false , logic works when I use…
-
-1
votes1
answer117
viewsJquery How to add input values in real time?
I’m a beginner and I have a system where the user can add several inputs dynamically, precise that when typing the values (in decimals) the total sum is displayed in a div. If anyone can help me I’d…
-
-1
votes1
answer85
viewsElements running away from the mouse
personal someone knows some plugin or how to make an effect on javascript similar to this? https://newtemplate.net/demo/event4/template/particles.html However I want the following I want some svg…
-
-1
votes1
answer98
viewsHow to concatenate serialized data from a form to the javascript string?
How can I concatenate a serialized data variable var dados = $(form).serialize(); with a second variable, for example var x ="2222"? Thank you for your attention! Horatio…
-
-1
votes1
answer389
viewsDetect the mobile operating system and redirect to a specific page
Good afternoon guys, all right? , I would like someone to guide me on something, I’m trying to implement on a website, a button where depending on the operating system, it redirects to a website.…
-
-1
votes1
answer166
viewsChange layout color
I wanted to create a function to change the colors of the layout of the site that they are developing, this site is made in Codeigniter, CSS3 and a bit of pure Javascript, I did a search on the…
-
-1
votes1
answer138
viewsClose popup by clicking the back button
Is there any way to detect the "back" click? More necessarily from mobile devices (Android is enough). I would like, in my web app, the back button can call certain functions, in this case close…
-
-1
votes1
answer522
viewsProblem with autoplay of videos in Chrome
I’m having trouble inserting a video with autoplay on a page of a website, when this page opens in Chrome, the video stops until you click the "play button". I read in several "posts" that this is a…
-
-1
votes2
answers851
viewsRequired does not work (.Ubmit)
I created a common form and put a button in which I had to call a Javascript for a certain situation and the button could not be type='submit'. So I put it as type='button', called the Javascript…
-
-1
votes2
answers40
viewsReset Divs id by numbers in order
I am quite layman in Javascript and jQuery, and I needed to change the id of the Divs in numerical order. For example: <div id="1"></div> <div id="2"></div> <div…
-
-1
votes1
answer297
viewsChange a date input when changing select
I would like if user select a specific option of a select in the form as the second option another field of the date type of the same form change to today date automatically. <input type="date"…
-
-1
votes1
answer454
viewsHow to remove a JS mask from an input when submitting the form?
I have a small project done in Java using Springmvc and wanted one of the fields of a form to have the monetary input mask, but when I give Submit in the form it error in Binding with the model,…
-
-1
votes1
answer32
viewsInput cache when updating page
You can keep the information typed in the Input by updating the page only using front end? input { border-color: blue; padding:5px; font-weight:bold; } <input type="text" value="Manter este texto…
-
-1
votes1
answer295
viewsCheckbox
I’m having trouble creating a web page where I have select boxes dependent on it. For example, after selecting the first box the values of the second one vary according to the selected option. The…
-
-1
votes1
answer504
viewsSelect only folder - HTML
How can I make a input[type="file"] select only folder, instead of files? I used the dial: <input type="file" multiple webkitdirectory> But apparently, it selects the files from the folder.…
-
-1
votes2
answers74
viewsRemove dynamically created button
How a dynamically created button can remove itself by clicking on it using jQuery? var id = 0; function criar() { $("#divina").append("<button id=botao" + id…
-
-1
votes1
answer647
viewsHow to AJAX WITH JQUERY sending a POST?
Hi I want to send Two valore, one via Post and one via GET to my funcoes.php in this post I want to send as get the type of request to validate it in the functions and also the date that the client…
-
-1
votes1
answer278
viewsHow to access a Managedbean through an external js file?
How do I access a Managed bean jsf through an external javascript file? I am trying to access it as follows: $("#botaoCadastroMaterial").click(function(){ '#{cadastroMaterialController.salvar()}';…
-
-1
votes2
answers232
viewsAdd a URL link to a CSS class via JS
You can add a url link to my CSS class via JS? Why can’t I edit my HTML file. I have this CSS to change my logo when it rolls: .she-header .logo img { visibility: hidden; } .she-header .logo {…
-
-1
votes2
answers62
viewsCommand in chat to open new javascript page
Hello folks I’m doing a chat and would like that when the user type /rules and press enter it opens a new tab with the address of the rules someone could help me with the code? <textarea…
-
-1
votes1
answer64
viewsPass $_SESSION in load() jquery
I wonder if it is possible to pass one $_SESSION for load() jquery. I have a page, where I call for another load, but I need to get the value of $_SESSION on the second page, but it’s not working,…