Questions tagged as 'jquery'

1
answer

Request ajax

I'm loading the menu, of the system I'm developing, through a request via ajax using jQuery, however the menu formatting is not getting as expected. My request via jQuery <script type="text/javascript"> $(document).ready(function...
asked by 19.12.2014 / 13:18
1
answer

How to get a PHP object in an ajax function

I have the code below that does a check in my controller and it returns me a count of my request. What I wanted is that in the success of my Jquery ajax I would capture this value to do some javascript conversations in my code. I'm using t...
asked by 18.02.2016 / 17:05
2
answers

Hover JQuery function on dynamic elements

Is there any way to use the hover event with jQuery in dynamically created selects options. I tried to use the function on() and live() but it did not work. I tried this way: $(document).on('hover', '.teste', function (...
asked by 28.01.2016 / 16:47
1
answer

jquery.inputmask mask with values in real currency

I'm using the jquery.inputmask plugin for various mask types in the imputs of my application and even for formatting coins . I'm using the following custom rule: <script> $(function() { $("#money").inputmask('decimal',...
asked by 13.10.2016 / 20:49
2
answers

Change the quality of online video?

How do sites like YouTube and Facebook offer different qualities for upcoming videos? Is there any specific tool / code to change the quality of videos, or do they encode and save video files in different formats? 360p, 480p, 720p, 1020p ... How...
asked by 13.10.2016 / 15:44
1
answer

Why is this call inserted automatically into the body of HTML?

In an app I'm using the javascript libraries: jQuery, Angular, Angular Material, and Moment. Totalizing I have the following calls in my file: <script src="vendor/jquery/jquery-3.1.1.js" type="text/javascript"></script><script s...
asked by 31.10.2016 / 21:20
2
answers

Problem with variable scope in each method

I'm having problems with assigning to a variable within an each in jQuery. (function(){ var filters = $(".filter_check:checked"); var hiddenFields = ''; $.each(filters, function(){ hiddenFields += "&" + $(this).data('p...
asked by 11.03.2015 / 15:09
1
answer

Vertical Sidebar Menu using Bootstrap 3.3.2

My problem is to replicate something like this. I'm having a hard time solving this: link The difference is: without words. When I hover over the entire bar, the rest of the width appears telling what each page is (on the bottom what eac...
asked by 18.02.2015 / 12:45
1
answer

Update fields dynamically

I need my code to update the Override field when the Total field value is changed to a value greater than the Sub.Total value or refresh the Discount field when the Total field is smaller than the Sub.Total field with the value, and when you add...
asked by 03.12.2014 / 18:24
1
answer

Error inserting apostrophe into component that uses Auto Complete

I'm having trouble inserting% of apostrophe% when I'm going to search for the ' component of AutoComplete . Jquery $("#<%=txtHipotePai.ClientID%>").autocomplete({ source: function(request, response) { $.aj...
asked by 24.11.2014 / 19:38