Questions tagged as 'jquery'

1
answer

jQuery - how to measure the loading time of a background image [duplicate]

How do I run code when an image used as background is loaded? I tried: $ ('#IDdaImagem').on('load', function () { / / 'Código parágrafo CARREGAR uma page / Conteúdo' }) and does not work the image continues to load after...
asked by 07.04.2014 / 05:31
1
answer

Datatable duplicating elements

I have a search done with Ajax via JQuery that returns a tablet with DataTable. But the DataTable elements are doubling as I want to search (see print). I'vetriedtousedestroy,butthenitstopscreatingthetable.Mycodeislikethisrightnow.JavaScript...
asked by 30.10.2018 / 18:12
1
answer

ReferenceError: $ is not defined

Hello, I created an application a short time ago and got jquery via Nuget, but it gets error starting jquery. I have the following function in a js file. $("#myNav").bind("mousewheel", function (ev, delta) { var scrollTop = $(this).scrollT...
asked by 31.12.2018 / 00:45
1
answer

Apply mask when typing in the input field, typing a numeral show asterisk instead of numbers or letters

How do I apply mask in the input field, when the user type instead of the numbers / letters I want to appear in this input field the special characters (*). Example: 999 ****** 99.     
asked by 28.08.2018 / 15:45
1
answer

How to Generate Sum in looped fields [closed]

As I am not aware of javascript I need a help how can I do, this script below perform the sum of the items in the "value" fields of each looped line In case it would have to appear in the field "Total" dynamically the sum of each line...
asked by 03.10.2018 / 04:47
1
answer

Add HTML with JavaScript and Remain [closed]

I want to be able to add and then when I refresh the page it stays safe in my HTML. .menu { width: 100%; height: 70px; background-color: #56B8BD; max-height: 70px; } .menu ul li { float: left; list-style: none; tex...
asked by 24.09.2018 / 14:54
1
answer

Ajax (POST) Laravel

I am having the famous error 419, which for a certain moment I managed to solve, but after restarting the server, it stopped working. Route: Route::post('ajax/Register', 'Ajax@Register'); Controller: public static function Register() {...
asked by 02.10.2018 / 22:56
1
answer

How to create a button with the Custom Scrollbar plugin? [closed]

Custom Scrollbar My idea is to create just one button. When you click it it is enabled and automatic scrolling works, clicking again turns it off and disables automatic scrolling.     
asked by 11.02.2014 / 18:35
2
answers

Refresh a window when closing another [closed]

I have a page with a listing of photos. The user clicking on "add photos" opens another tab where the user can add photos. But at the end of inserting them, this flap is closed. What I wanted, was that when I close the window, where I add the ph...
asked by 17.02.2014 / 20:55
1
answer

I want to import a whole page with jquery, should I split the page into different jquerys so that I can later write code by jquery means?

With this jquery I'm importing the entire page, but I can not get through html divs in the middle of the query, just in the end <htmlxmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Getting Started with jQuer...
asked by 23.07.2018 / 12:14