All Questions
703
questions
0
votes
1
answer
25
views
Javascript/Jquery scroll event to move screen height triggers twice
Creating an autoscroll event to next slide/page of the size of the window. But every time I scroll, the event is triggered twice. I'm guessing because is detecting the autoscroll event as a trigger ...
0
votes
1
answer
34
views
How can I find out from which object the event was called?
I want the event to work only on mouse click, how can this happen?
I use jqwitgets grid, this event I use for the grid is triggered when I select a row with the mouse.
$(document).on("rowselect&...
0
votes
0
answers
54
views
Jquery trigger change does not seem to trigger function
I have this range slider on my webapp, the goal of my code is this:
When i slide the range slider the value of it goes into a number field using jquery, then i trigger change on this number input ...
0
votes
1
answer
45
views
trigger click on mouse find previous i element
I have a page where i use an i element to add a row to form:
jquery:
$('body').on('click','.newTask',function(){
var id= $(this).attr('data-tableId');
//ajax call to get
<tr>
...
1
vote
1
answer
175
views
jquery select a div where I released my drag and drop click
My HTML is like this
<div name="draggable">
<div>element1</div>
<div>element2</div>
...
</div>
<div id="dragDrop_target-1"></div>
&...
0
votes
1
answer
191
views
Automatically load newly inserted rows (SQL Server database) in ASP.NET webforms front-end?
I have a SQL Server database with one table and I am doing operations using Entity Framework 6 in C#.
I have a jQuery in my frontend which calls a method in the C# backend and loads the data from the ...
0
votes
0
answers
116
views
jquery ON multiple event, but need trigger one not all of them
in jQuery, i used this example to do something on inputs:
var i=0;
$("#inputTest").on("focus click touchstart",function(e){
++i;$(this).val(i);
console.log(e.type);
});
...
0
votes
0
answers
43
views
trigger CSS transform via jQuery on element that was changed from display:none to display block not working - requires timeout
I have an element that is normally hidden via CSS (style sheet) with
display:none;
The element will be made visible via jQuery:
$('#element-id').css('display','block');
immediately after that ...
1
vote
0
answers
25
views
Function executes when maximizing the window
I have the following script which redirects the user to another slide within my presentation when scrolling to the bottom of the page. ( i am using Reveal.js )
jQuery(function ($) {
$("#...
1
vote
1
answer
546
views
modal wont trigger after 5 seconds of inactivity
could someone see what i am doing wrong here? I wish for the modal to auto popup after 5 seconds of inactivity but it just dont seem to work.
here is my jq
var THRESHOLD = 5 * 1000;
var lastActive = ...
1
vote
1
answer
24
views
Pass arguments to JQuery .on() fired by Element
Maybe anybody can help me.
<video>
</video>
[...]
$("video").on("loadstart", function() {
console.log(a);
// result: 'undefined'
});
$("video").on(&...
1
vote
2
answers
632
views
Jquery can't trigger keyup event
I'm using jquery in a web app. I have a page which is listening for keypresses like this:
document.addEventListener('keyup', function (event) {
event.preventDefault();
var key = event....
0
votes
2
answers
479
views
Trigger Click is not working with Gravity Forms
I'm trying to fix not working download link, which have to also trigger Gravity Form submit.
Works only $("a")[0].click(); I added it to test overall code.
There are no errors in the console....
-2
votes
2
answers
160
views
Trigger multiple actions on click with toggleClass() in jQuery
I want to trigger several simultaneous actions when I click a button.
In jQuery, I use toggleClass() to show and hide the burger. Unrolling the menu on click works perfectly. What I can't do is to ...
1
vote
2
answers
846
views
How to trigger a link in a tab of a table?
When a user is on the home page, he can click on a link that redirects him to another page (so far, it works).
In the new page, I would like the link to automatically open the second tab of a table by ...