Questions tagged [jquery-plugins]
Custom add-ons and plugins for the jQuery library. jQuery functions and features not included in the standard jQuery library.
jquery-plugins
13,036
questions
0
votes
1
answer
200
views
Is it safe (XSS attacks) to provide callback functions in jQuery plugins?
I've been using a popular jQuery plugin for years and while reading about cyber security, which I'm certainly no expert but I'd like to learn how to write better code, I realised that this plugin and ...
0
votes
1
answer
113
views
Searching select options using parts of word with jquery select2
Say for example. If there is one option as "Eyes Nose", then I want to search the option with input as "Ey No". Select2 fails to suggest the option here.
By default if we just ...
0
votes
1
answer
95
views
Uncaught TypeError: jQuery function is not a function
I'm having a problem with this sample code. When I try to execute someFunc(), I get the error:
Uncaught TypeError: $.twbsPagination is not a function.
<html>
<head>
<script type='text/...
0
votes
1
answer
466
views
Jquery - Download data in chunks from server and keep appending to a file on client
I have my data residing in the Postgres Server in JSON format. The data is in the hundreds of thousands of rows. I wish to provide a link to the user to download the data in chunks ie. not all the ...
0
votes
1
answer
44
views
HTML Radio button JQuery validation doesn't work
Hello i am developing a 5 star rating review by the radio button. this radio button doesn't work properly.I want to implement in the wordpress. Check the image. https://i.sstatic.net/UR5ED.png. This ...
1
vote
1
answer
95
views
Is there a way to tell jQuery tablesorter that the table is already sorted?
I've a web app that builds a table from data it receives from an API. These data are a CSV string, which has its rows already sorted by the API using a couple of columns.
Currently, I use the sortList ...
0
votes
1
answer
43
views
How to Prevent Jquery UI dragSelect when any modal is open
I need open a modal on a page where JQuery UI dragSelect is implemented
I want to stop dragSelect when the modal is visible when I click on modal items are selecting in the background.
searched in the ...
0
votes
0
answers
227
views
jQuery Sparkline is not working for me. What am I doing wrong?
I tried to emulate the example provided by https://omnipotent.net/jquery.sparkline/#s-docs, since I want to work with JQuery Sparklines for a project.
This is what my attempt displays
I downloaded ...
0
votes
1
answer
87
views
How do you add more options to a select2 <select> using jquery?
I was having the same challenge and i found official select2 documentation very useful.
I tried this$('#selectBox').append($('<option>').val(optionValue).text(optionText)) but it was auto ...
0
votes
1
answer
77
views
How can I search description in Awesomplete?
I'm using Awesomplete plugin.
<input class="awesomplete" list="mylist" />
<datalist id="mylist">
<option>One</option>
<option&...
1
vote
1
answer
238
views
jVectorMap latest version(2.0.5) is not working properly with WordPress
On Static HTML, JS, and JQuery, their solution is working fine as documented https://jvectormap.com/maps/world/world/ but when I try to use WordPress and use wp_enqueue_scripts hook for the assets of ...
1
vote
1
answer
409
views
JQuery UI change draggable snap position based on another elements
I have an bunch of draggable elements, that are absolutely positioned on an "artboard". Users can edit these elements, and also drag them.
Most important thing that user can lasso-select or ...
0
votes
1
answer
25
views
Run 2 functions synchronously in jQuery
In jQuery, I am using dialog for the user confirmation. But when I try to run this code shown here, it does not work as I want.
If the user selects "yes", then after another function like ...
0
votes
1
answer
57
views
I am trying to use mailcheck, but it doesn't show suggestion for me
for some reason it doesn't work, but I am sure that javascript file works, I tried to do everything as in this working example: How to include a jQuery plugin with <script> tag one thing that is ...
0
votes
2
answers
362
views
Validate a US phone number from an optional input field
I am using jQuery Validation Plugin to validate a phone number from an optional input field.
Here is my form:
<form id="input-form" action="" method="post">
<...