14 questions from the last 30 days
9
votes
1
answer
755
views
Calculating distance to animate elements at the same speed
This is as much a math question as it is a coding question.
Picture this scenario:
___________________
| |
(#1) | Center ...
1
vote
1
answer
55
views
jquery each function works just on first item
I use this lightweight plugin to display text continuation on hover :
https://lukifer.github.io/HoverForMore.js/
I am using the jQuery each function to call all items and run this plugin on each one, ...
1
vote
1
answer
95
views
Changing input from checkbox to button
I have a jsp file which results in this HTML:
<form id="paymentForm" action="submit_payment.form" method="post">
<div class="notvalid">
</...
Tooling
0
votes
3
replies
53
views
laravel real time communication
I’m trying to implement a real-time notification system in my Laravel application. The frontend uses jQuery, and the backend uses Laravel’s broadcasting system with Reverb (also tried with Octane and ...
0
votes
1
answer
46
views
Issue with select2 and option group
I am adding a new option to a select2 optiongroup with custom drawing of options. here is my code:
function defaultParameter(value, defaultValue) {
return typeof value !== 'undefined' ? value : ...
-1
votes
0
answers
21
views
Print excel/pdf in jqgrid-php from an abstact grid
My project had too many grid pages and it was quite the mess so I decided to make one sole generic grid file with configurations and each time the same page loads different configs depending on the ...
-4
votes
0
answers
60
views
Use jquery to set hrefs or script src in a conditional way [duplicate]
To set an image's src to delay a loading of the source, you can do this with
in the html
<img src="#" delayedsrc="./imagesgeneral/iconhome.png" />
in the javascript
$('img[...