Category "javascript"

How do I get PrimeVue ScrollPane to Scroll to the bottom as items are added

Using this SFC in Vue 3 I have been unable to get the scroll panel to stay scrolled to the bottom as the array of events expands. I'm wondering if i may just ha

How to open different parameters in google search same tab using javascript?

I need to open different search parameter in google search same tab using java script. No need to change http://google.com/search?q' in all time. I want show it

problem trying to make div responsive using CSS

I'm new to css / html / js what I'm trying to fix is the images placement in Div, i wanna make it more organized and responsive so when I resize chrome i wont e

Submitting a video with Thumbnail to Facebook Graph API for Instagram

I have this endpoint that is currently working flawlessly for both photos and videos. let mediaContainerUrl = `https://graph.facebook.com/${igUserId}/media`; A

React JS fetch post get error object object error

Post api work postman correctly but Rect JS post not working. Console get this error "POST https://localhost:5001/api/request 400 (Bad Request)" . I tried sever

Error: export 'control' (imported as 'L') was not found in '@raruto/leaflet-elevation' (module has no exports)

I have a angular application and need to use the custom leaflet package: https://github.com/Raruto/leaflet-elevation I am trying to use this in my application.

Keep all style of page inside page block element

I have this code : <div class="page-payment"> <div class="payment-methods" v-if="!pending"> <sepa-modal ref="sepaModal" /> &

react-currency-format is not displaying some of the html elements

I am developing a amazon clone by watching a tutorial. I have created a subtotal component where is used imported and used react-currency-format. inside the cur

req.cookies returns [Object: null prototype] {} even if the cookie is set

I try to store and read a cookie via cookie-parser. Setting the cookie is working fine. Its listed under the "Application"-Tab of the dev tools: But if i try t

get name name of cell from his range google script

I want to retrieve the name of a cell having his range. this is the range : var rangeOfCell = sheet.getRange(100,5); I want to know how to get his native(A1, A

"Can't bind to (...)" and "(...) is not a known element" JS errors when Angular app rendered within a Liferay portlet

I have an Angular 9 app that I would like to make accessible via Liferay 7.x portlet. When I follow these steps, deploy my portlet and try to render it, I run i

Bootstrap modal UncaughtType Error on modal loading

I am using BS modal in my project. I am using a button to open the model but as I open the modal I get this error in my console. Error: modal.js:418 Uncaught Ty

Add animation to alternating horizontal panes [duplicate]

I have a working snippet for two horizontal panes that alternate when clicking on the splitter. I need to add a simple animation to the splitt

Bluebeam Scripting - Custom Columns, Markups, & Forms

BLUEBEAM AND ADOBE ARE BOTH PDF VIEWERS THAT HAVE A LOT OF SIMILARITIES Hello, I am trying to figure out how to link a form answer to some markups (tools). Cust

How to align left and full-height side nav menu

I'm trying to build a sidenavigation menu for the tablet / mobile part of my website. What I can't do is get a left-alignment of the screen, an overlay and full

Compare the two array of objects and render the non- matching values in react

let states =[{name:"goa", Population:1000 },{ name:"maharashtra", population : 100000 }, { name:"Kerala", Population:1000 },{ name:"Delhi", population : 100000

onSubmit form send data to another component/route in React

I am currently having a react component, where I have a small form: const firstName = React.useRef(null); const handleSubmit = e => { const data = {

importing fs in nodejs

hello everyone! I'm trying to import fs module in nodejs first I was using require to import it like this const fs = require('fs'); It was working fine for a w

Shell script in lightdm web-greeter v3.4.1

I've created a shell script to reboot windows, and I want to add a button in the lightdm web-greeter v3.4.1, to do this. How can I link my button (event onclick

How to search based on multiple criteria in AutoComplete API in material UI

I have created a search box using the auto complete API. But it is only searching based on the title field from options and not searching the inputs on other fi