Category "javascript"

How to render live session of website and also interact with it

So there are a few tools to record and view live sessions of users on your website using js sdks's like: logrocket, hotjar, https://github.com/rrweb-io/rrweb ht

Why does a syntax error occur after restart?

I'm running my little testsite on localhost (although currently there isn't even serverside interaction yet). Everything worked fine until I restarted my PC. O

Laravel Mix Uncaught ReferenceError: $ is not defined

I've searched and searched and I can't find the answer to my problem on SO. So here's my issue. I'm trying to load jQuery Globally using Laravel Mix. I've tried

Add-on "appears to be corrupt" when trying to install my add-on's .xpi file in Firefox

I am trying to install an extension in Firefox 45 (same happens with Firefox 49), but Firefox does not allow me to do that, indicating that This add-on could

How to keep forked child process alive in node js

I want to create a rabbitmq cli running like foreverjs with node. It can spawn child_process and keep it running in the background and can communicate with chil

.env vs config.json

I just started learning JavaScript / node.js (a gentle introduction to back-end webdev), and thus I am completely green in the subject. A few days ago I was re

CKeditor with multiple textareas

I have a button which opens up the dialogue box. Inside dialogue box i have a form in which i have a button, on clicking this button i append another form into

Create an olymp trade robot

How can I get olymp trade API that will permit me to get each order id, open and close times, amount, status etc. ? I try by many ways to get but in vain. Thank

Trying to use setInterval to make a throttling function unsuccessfully

I am trying to return a function that only invokes a callback function 'func' once per every 'wait' milliseconds. Additional calls to the callback 'func' within

enable disable font-awesome icon

I have down arrow font-awesome icone. I try to disable the icon for some validation reason . But when i given a option 'disable' , it is not working. <div

ReactJS + Material-UI: How to alternate colors between Material-UI <Table/>'s <TableRow/>?

I currently have a Material-UI's <Table/> ( http://www.material-ui.com/#/components/table ), and would like each row to switch off between color blue and

Invalid transport, must be an object with a log method winston mongodb logging

I want to store my error logs in mongoDB collection. I am using winston & winston -mongoDB. Getting the error: throw new Error('Invalid transport, must

Storybook throws an error when I want to install it with Next

Storybook throws this error when I am trying to install with a Next.js app which already exists: • Detecting project type. ✓ • Adding Storyb

React Material UI show progress in Table while waiting on data

I know it is possible to show Circular progress over the as-yet-to-be-populated table. How do you do it? As it stands right now the table says No records to d

VideoJS how to register YouTube plugin via ES6 Modules?

I've been trying to decipher how to do this and scrolling through walls of text of documentation to find that videojs don't actually explain how to register any

Iframes in opened in new tab blocked from top level navigation

I'm confused about how the top-level browsing context works in chrome. As per this conversation, an opened window (C in the diagram from the link) has a top-lev

how to add class on table using javascript in tinymce?

I have some problem to add class on table. I wanna this code <table></table> become this code by click a button in tinymce. <t

React does not recognize the `initialValue` prop on a DOM element

Warning: React does not recognize the `initialValue` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as

PHP variable added to page not populated - getting undefined in Javascript function call

I am having a bit of trouble, and i think my syntax and structure is correct but for some reason the function is failing. products.php page i have this function

How to add custom popup window in shopify?

Hi simply I want to add a popup window that appears when the user clicks on a link/button on the product page to show him/her the washing instruction for exampl