Skip to main content

All Questions

0 votes
0 answers
14 views

Cara membuat terminal emulator [closed]

$(function() { $('body').terminal({ x: function(cmd) { ///code ///code } }, { prompt: ...
Muhli Pic's user avatar
1 vote
0 answers
47 views

Trouble when setting up jQuery when installed as a NPM dependency in Laravel app for making it available on global scope,by bundling assets with Vite

I've been modularizing my 'Create' and 'Edit' Blade views correspondent to a feature of my Laravel app, by splitting their code into different files. I've done this as there are different sections for ...
Leandro Caplan's user avatar
0 votes
2 answers
49 views

$.get(code_url) executes code returned, without using eval( ) neither appending it to DOM. jQuery security fail?

I was debugging my NodeJS app when I came to this huge fact : Using jQuery, a simple $.get(code_url) Where code_url is an URL toward javascript code on the server, does executes the code. What is ...
Tricotou's user avatar
  • 165
0 votes
0 answers
37 views

Node.js redirect to login.html if not logged

Is it possible to redirect the user to login.html from backend using node.js (v18.16.0) and express.js (v4.18.2)? This is my current code. const userList = require('./routes/userList'); app.use(...
Riccardo's user avatar
0 votes
0 answers
16 views

i have integrated XVerify into Clickfunnls but its not working on client side

We have just download the script provided by XVerify and put it into body and head of CLICKFUNNELS it is working on my side but not working on clients side i have tried clearing cache and cookies even ...
Muhammad Irfan Kully's user avatar
0 votes
2 answers
323 views

node.js TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer

I am developing a web-server application using Node.js v21.7.1, one of the files that is served up is "jquery/jquery-2.2.1.mn.js", my code reads this file then sends it out as a response to ...
SPlatten's user avatar
  • 5,578
-1 votes
1 answer
26 views

How to pass data (converted to json) from route to jquery?

I am trying to pass a JSON file fetched from an API going to jQuery. I am trying to create an infinite scroll feature using jQuery before rendering it into an EJS file. The problem is that every time ...
Gad Ashell's user avatar
0 votes
0 answers
123 views

Some pages are skipped when using pdf-parse to extract text from a PDF

I'm currently using pdf-parse, a Node.js library to extract text from a PDF file. However, I've encountered an issue where certain pages are being skipped during the extraction process. I've checked ...
dealwap's user avatar
  • 661
0 votes
1 answer
48 views

How to display half year based on year selection and disable half year for future years Angular 8

I have year and half year dropdown in UI,Based on selected year i want to change half year dropdown Can anyone help me to implement below logic to achieve my expected output For ex - If user selected ...
Shilpa's user avatar
  • 59
4 votes
2 answers
363 views

Is there a way to reinitialize jQuery?

Question JQuery is initialized on import. If window and window.document exist (and module doesn't), JQuery saves the references and uses them thereafter. Is there a way I can "reinitialize" ...
Daniel Kaplan's user avatar
0 votes
2 answers
264 views

How to detect if user press back/forword arrow of browser in JS/Jquery for none SPA

I have only 2 routes / and /about when I am on URL localhost:8080 -> it renders my home page localhost:8080/about -> it renders about page If user open home page and click on about button ...
Ashutosh Jha's user avatar
  • 16.1k
0 votes
1 answer
44 views

Form action not redirecting to proper page in Node JS Express server

I have a simple EJS app that uses jQuery in the js code to get json data from google custom search API and use the get method to go to /search with the query listed as the attribute of q the form's ...
Gabriel Toy's user avatar
0 votes
2 answers
123 views

How to reload a page when selecting an sorting option with the onchange parameter

I have a little problem. I can't refresh the page when I select a parameter in the drop down list... When I tried it outside my page in a new document it was not a problem and I don't know if it's ...
Exie's user avatar
  • 1
0 votes
0 answers
177 views

How to verify a transaction that was made using Paystack link through an app in java

I linked a paystack account using hyperlink in a javafx form. It took me to the paystack site where I paid for the services rendered. My problem is how to verify the paystack payment through another ...
Chib's user avatar
  • 1
2 votes
2 answers
2k views

Authenticating through Chromium popup box with Playwright

I am attempting to script several devices using Playwright in order to adjust their configuration settings. Some models of devices request authentication via a popup dialog box in Chrome. These popup ...
AveryH's user avatar
  • 63

15 30 50 per page
1
2 3 4 5
231