1,034,778 questions
-1
votes
0
answers
53
views
how to fill textarea value using jquery and parse html inside [closed]
I'm developing a website with laravel as backend and pure js as frontend. I'm getting a field named Bio and in backend I'm removing any unwanted html tags and keep the ones I need with mewebstudio/...
-3
votes
0
answers
40
views
data- attribute leaves data visible in html element [duplicate]
I have an input in my jsp which gets userInfo from a ModelAndView object.
<input value="Submit" name="proceed" type="button" id="btnSubmit" class="btn ...
-2
votes
0
answers
42
views
jquery array returns empty result [duplicate]
I have the following which creates an array (of sorts!):
var combined = [];
function slides(){
$.ajax({
type: "GET",
url: '../queries/get_all_slides.php',
cache: false,
dataType: &...
2
votes
1
answer
45
views
Conflict between selectableRange and rowSelection: Clicking checkbox deselects other rows
I am using Tabulator (v6.3) and facing a conflict between the selectableRange module and the rowSelection formatter (checkbox).
The Goal: I want to use Excel-like range selection (selectableRange: 1) ...
0
votes
0
answers
34
views
Redirect to admin page problem. Using node.js with jquery
$('#loginForm').on('submit', function (e) {
e.preventDefault();
const username = $('#username').val();
const password = $('#password').val();
$.ajax({
url: '/login',
...
0
votes
1
answer
142
views
Why does SVG tag make other elements invisible when the HTML page is loaded?
I am working on a template composed of pure HTML, JavaScript (using jQuery and Slick libraries), and CSS. Note: I am not using any common frameworks aside from Bootstrap.
This is the part of the <...
-1
votes
0
answers
58
views
Iframes positioning [closed]
I am currently adapting a site to mobile design. The left navigation bar is separated from the rest of the page with an iFrame. I want to show and hide the left navigation bar with a button – this ...
0
votes
1
answer
46
views
Kendo MultiColumnComboBox select event sometimes not triggered after item selection
I’m having an issue with Kendo MultiColumnComboBox where the select event is not fired from time to time.
Component: Kendo jQuery MultiColumnComboBox
Option: serverFiltering: true
Symptom: After ...
0
votes
2
answers
77
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
vote
1
answer
79
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, ...
Advice
0
votes
2
replies
45
views
Is it possible to use the dataset content values in my script?
I'm trying to use dataset content in my Javascript, but I can't get it to work. Is this even possible or has the content run too late? The values are being output in console correctly.
// JavaScript ...
Tooling
0
votes
3
replies
64
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
54
views
Using Jquery how do I find an element by id using a regular expression
I'm using PHP8.1 and JQuery.
I have a script with several links that each have an id that is a digit only. i.e:
<a href="#" id="<?= $id ?>"><?= $student_name ?>&...
3
votes
1
answer
117
views
clicking a button with JavaScript using a class and anchor text, rather than ID
I am trying - and failing - to write JavaScript to click this button:
The HTML for the button varies depending on the page
Example 1
from this page:
<span class="a-button-text" aria-...
1
vote
1
answer
99
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">
</...