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
answer17
viewshow to create a slidershow for content
ola personal I have a doubt I see that some sites have adopted a slide show with image and titles where after a certain time passes to the next slide wanted to do the same of the site of the G1…
-
0
votes2
answers863
viewsCalling function after choosing date
Good morning, I have an input text with a datepicker. The input has a Validator function that changes the color of the input as the text is right or wrong. But in this case as I don’t write directly…
-
0
votes2
answers3914
viewsSend message on the same page after form Ubmit
I have a form included within a modal window. My question is how it should be done to appear a completed sending message within the modal window after the form is sent, all this process would need…
-
0
votes0
answers973
viewsJquery - RG mask
I am having problems creating a mask with Jquery, because there are rg’s that close with the 'X' type'. HTML <input name="rg" class="form-control" id="rg" pattern="^(d{3}\.d{3}\.d{3}\-d{2}"…
-
0
votes1
answer378
viewsHow can I assign a php variable value to an input with Jquery
I’m trying to play a value redeemed by php and play in a input with JQuery and then perform a Ubmit on a certain form, what I tried to do is this here: if (!empty($_POST['Termo'])) { $Termo =…
-
0
votes0
answers271
viewsPlay function does not work in iOS browser
These functions below are from the Youtube API for viewing videos. It’s working on all browsers. But when I open the site on iPhone and click on PLAY to start the video, it doesn’t perform the…
-
0
votes1
answer648
viewsTrace destination from address or zip code using Google Maps API
Does anyone know how to make a map like this http://yuejermano.com/#location/ceremony where the person enters the address or the zip code and he traces the route to the intended destination? I…
-
0
votes0
answers51
viewsHow do I make a Trigger for angular-input-masks validation?
I have a field : <input type="text" name="DataNascimento" class="form-control data" ng-model="EscolherCurso.DataNascimento" required ui-date-mask/> which I preferred to use jquery datepicker.…
-
0
votes2
answers1161
viewsAdd CSS class in Input when Loading page
I want to add class="cpf_cnpj" in a input id input-custom-field2 when loading the page, follow the html and javascript I tried to use but without success: <input type="text"…
-
0
votes0
answers58
views$('.Nav-tabs > li a[title]'). tooltip() is not a Function
I am trying to insert a Wizard in my system, and I come across this error: I’m using bootstrap 3 and got a template ready on bootsnipp and there it works perfectly. I haven’t made any kind of change…
-
0
votes1
answer1050
viewsJquery - Photo Gallery by CATEGORY
I’m working on a bootstrap template called CORLATE. In the Photo Gallery, I need to take that all-All option and leave only the categories. The problem is that when you load the page, even taking…
-
0
votes1
answer82
viewsHelp to build a json file
arrayPerguntas = [{ bloco: $("#bloco-num").val(), perguntas: [{ numerodapergunta: numeroDaPergunta[0].value, numerodaperguntaSemPonto: retiraPonto(numeroDaPergunta[0].value), descricaoQuestao:…
-
0
votes1
answer77
viewsI cannot use the CSS pseudo-element with Jquery
I want, when clicking on the pseudo-element, the menu opens, I tried several codes but none worked, the last one I tried was this : $('#overlay-menu').after().click(function(){ var menu =…
-
0
votes0
answers32
viewsEnable cities in the registration edition
Colleagues. Driving from here and there, I reached the code below. His objective is to select the state, to appear the cities referring to that state. So far so good, but I need to make sure that…
jqueryasked 8 years, 1 month ago user24136 -
0
votes1
answer3405
viewsHow to take the href of an element and also assign it as id of it without Sharp (#)?
I’m wearing a shortcode in Wordpress that only gives me the possibility to insert the following attributes: <a href="#anatomia" target="_self" class="dt-sc-button small">Inscreva</a>…
jqueryasked 9 years, 2 months ago Marcos Vinicius 7,188 -
0
votes1
answer96
viewsData returning with space
I’m making a call ajax with jQuery in a controller on CodeIgniter. The problem is that when the jQuery returns me the data, it is coming with some spaces in front of the result, getting for example:…
-
0
votes1
answer387
viewsDoubts on how to Validate CNPJ with Jqyery
After searching some websites, I found a CNPJ validation code in jquery, I would like to make this function active when clicking the email field, if the cnpj field is not filled or the invalid…
-
0
votes3
answers1541
viewsAngularjs Format date
As a data format in the input type controller="DATE"? i have this return in controller... Sat Aug 06 2016 00:00:00 GMT-0300 (Hora oficial do Brasil) Mon Aug 01 2016 00:00:00 GMT-0300 (Hora oficial…
-
0
votes0
answers223
viewsJquery does not work with Angularjs
I got a Dashboard Bootstrap with Jquery, but when I try to use it with the single-page angularjs, the functions that are in jquery do not work, but I can do in Angularjs, what I wanted it to work…
-
0
votes1
answer81
viewsHow do I make an interaction between two tables (<table>) with AJAX?
I need to make an interaction between two tables in a side tab, where initially an "answer" table is hidden and the "question" table will be available and so on input search above them I type…
-
0
votes1
answer148
viewsOnselect / Javascript event
I’m trying to make that when the user selects the select source id, and is the selection "Client" the div id "cli" to receive display:block. For that I made a test, of when to trigger the event…
-
0
votes1
answer699
viewsExpand listing by clicking
I have a select that returns me 40 records. I want to initially print 10 of them and then create a button See more where you will expand the list by displaying 10 more items until I complete my…
-
0
votes1
answer81
viewsConvert Currency String to Floatvalue
blz? How can I convert a currency string value (en) to a float value in javascript. "10,000.50"
-
0
votes1
answer1694
viewsDoubt when calling a modal jquery UI screen by passing an HTML page as parameter
I have this code. At the click of lupa.gif, I would like to call a jquery function and play a page into it with all the parameters passed like this: HTML: <img id='' style='display:; cursor:hand'…
-
0
votes1
answer338
viewsDropdown menu language
I visualized on a site that exists in the upper right corner a dropdown menu where the user can make the language selection. Below a print of the site with the open selection option. When the user…
-
0
votes1
answer635
viewsRun a page inside a jquery modal screen by ajax without Iframe
It is possible to run a page that is inside my dir, within a modal without IFrame for ajax? If yes, how would I do that? At the time my pages would have this path:…
-
0
votes0
answers285
viewsSorting Datatable column by a field of type Datetime
I have the following field in my model: [Required] [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)] public DateTime? DataCadastro { get; set; } I use Displayformat…
-
0
votes1
answer278
viewsValidating form with jQuery and sending to a controller in codeigniter
I want to do a validation with jQuery before sending the data to the server side, I’m using PHP with jQuery and in the form part use it: < ? php echo form_open('empresa/inserir',…
-
0
votes1
answer93
viewsShow successful dragging component message with jQuery UI
I got the following jQuery: $(function() { $( "#sortable1, #sortable2, #sortable3, #sortable4, #sortable5, #sortable6").sortable({ connectWith: ".connectedSortable" }).disableSelection(); }); This…
-
0
votes0
answers66
viewsAssign CSS in jquery
I have the following code, how do I assign a display: block inside jquery ? because I want the fields to appear without having to click on "add", it will appear automatically the quantity, as I…
-
0
votes0
answers90
viewsProblem with scroll
I want when I click on the links, it goes down in the scroll. I managed to do this and it left marked active for each one. I almost managed to do this, it gets active in almost all but the last. At…
-
0
votes1
answer157
viewsPage Scroll with jQuery
I’m trying to make a page scroll when I click on a link in my navbar, only when I click I get the following error in the console: Uncaught Typeerror: Cannot read Property 'top' of Undefined…
-
0
votes0
answers31
viewsWorking with the result of a $post with jQuery
making a $post and getting the result json, until then everything ok, but I need to work this result outside the scope of $post(); only that the variable after the post, is empty... see the example:…
-
0
votes0
answers106
viewsShow selected checkbox number taking into account existing records in the database
Hello I have a script that updates the database every time I check the checkbox without the client seeing; <script> $(document).ready(function() { $('.check').click( function () { if…
-
0
votes0
answers259
viewsMultiple Carousel on the same page
By inserting multiple Carousel , by clicking on any other Carousel, only the first changes. Someone can help me? <section> <div class="row"> <div class="col-lg-6"> <h3>Titulo…
-
0
votes1
answer46
viewsSome js are printing a strange number on my page
Some Javascript or js is printing a strange number right at the bottom of the page on website here. I have tried to remove 1 java script at a time, but I did not find the cause of it, Is it the very…
-
0
votes1
answer383
viewsIdentify router template via PHP or Javascript
You can identify a person’s router model through PHP or Javascript? I wanted when the person accesses a "X" page php or javascript to identify which is the model of its router and save this…
-
0
votes0
answers601
viewsAutomatic update without refresh google maps
I work with a vehicle tracking system, but it was not developed by me, I caught the project already underway. I need that on my page where the whole tracking procedure is done as the current…
-
0
votes1
answer178
viewsSending AJAX and PHP array
I am trying to reorder a list of items, which when clicking a button releases the reordering and when clicking again it saves, but if I do more than one reordering it only accepts the first one.…
-
0
votes1
answer31
viewsHide all different contents from the selected
I created a javascript code that hides all different Ivs from the value that was selected in select. $(".filter-target").change(function() { var target = $(this).val(); if (target == 0) {…
-
0
votes0
answers64
viewsHelps how to do this effect
http://www.sweez.com.br/#franchises I would like to know how to leave these elements floating as the page descends... someone has a simple example? I know you use Parallax,…
-
0
votes1
answer60
viewsI can’t run the app right on Samsung Galaxy S3 tab Lte
I’m in trouble and I believe it’s something or in framework7 I’m using for the layout or Android version compatibility issue. I’m using the following frameworks and API: Phonegap framework7 (design…
-
0
votes2
answers246
viewspause page and resume after user confirmation
Guys I have the following structure in php: <?php // Verifica se cancela o cadastro if ((!empty($action)) and ($action == "cancelar")) { ?> <script> confirm ('Tem certeza que quer…
-
0
votes4
answers175
viewsComment element ID attribute
I have a question in Jquery and I would like to know if this is possible. I have an element: <input type="text" id="meuid" class="minhaclasse" > I would like my property id to be dead, but can…
-
0
votes1
answer47
viewsMenu 2 effects: one for scrolling down and one for opposite
Hello, I’m wondering how to make a menu (jquery). It becomes apparent at the top of the site, when running 100 px from the top down, it hides (ok so far I managed to do), and is hidden until the end…
-
0
votes1
answer166
viewsPick up input file with multiple classes
I have an input file with two classes. <input type="file" class="upload upload-logo" /> <input type="file" class="upload upload-rules" /> <input type="file" class="upload…
-
0
votes1
answer1054
viewsHow to know which div is shown on the screen with javascript?
I have a site with multiple Ivs, and I need that when the screen arrives in a certain div, an action happens, but I don’t know which javascript event or jquery is responsible for it. Example:…
-
0
votes1
answer496
viewsCheck if an input was loaded with jQuery
I need to check if a text input has been loaded on the page and check if it is filled in, how can I do that? I’ve tried $('input'). on('load') but it doesn’t work, and the way the script is done I…
-
0
votes0
answers162
viewsModal screen does not close after searching the Iframe inside it
I decided to open this post, because the same is continuation of a post I did, but with the following difference. The research I was having trouble doing from a Modal screen with Iframe in ASP now…
-
0
votes1
answer114
viewsusing sortable dynamically
every time I drag and "drop" the bar from input of the kind text within the buttons, the same input bar must be generated below the header menu . Problem: Every time I drop the input inside the…