id
stringlengths
7
11
source
stringclasses
1 value
category
stringclasses
11 values
title
stringlengths
15
214
text
stringlengths
70
30.5k
url
stringlengths
57
160
tags
stringlengths
3
113
created_at
int64
1.22B
1.79B
se_79980144
stackoverflow
FRONTEND_DEVELOPMENT
What are Wrappers in ReactJS?
What are Wrappers in ReactJS? Are the wrappers in ReactJS functions, HTML like tags, or something else? If they are functions then how they work like HTML tags(closing and opening)? <BrowserRouter></BrowserRouter> <SomeContext.Provilder value={}></SomeContext.Provider>
https://stackoverflow.com/questions/79980144/what-are-wrappers-in-reactjs
javascript, reactjs
1,783,880,785
se_9873197
stackoverflow
FRONTEND_DEVELOPMENT
How to convert date to timestamp?
How to convert date to timestamp? I want to convert date to timestamp, my input is 26-02-2012. I used new Date(myDate).getTime(); It says NaN.. Can any one tell how to convert this?
https://stackoverflow.com/questions/9873197/how-to-convert-date-to-timestamp
javascript, date, time
1,332,769,134
se_64122588
stackoverflow
FRONTEND_DEVELOPMENT
Disabling changes by dark mode settings and plugins
Disabling changes by dark mode settings and plugins I have designed a website (in dark theme), and plugins like 'dark reader' and in-built night mode of kiwi browser (Mobile) is Changing the colors of some elements (thus making them invisible), and removing gradient effcts. Is there any way to avoid those changes?
https://stackoverflow.com/questions/64122588/disabling-changes-by-dark-mode-settings-and-plugins
javascript, html, css, bootstrap-4
1,601,392,629
se_58811299
stackoverflow
FRONTEND_DEVELOPMENT
Is there any way to use AJV to load an schema from an external URL
Is there any way to use AJV to load an schema from an external URL Is there any way to load a json schema in AJV with URL. I was using this code to load a json schema from mockable.io. var ajv = new Ajv({ loadSchema: loadSchema }); ajv.compileAsync("http://demo3880044.mockable.io/").then(function (validate) { var ...
https://stackoverflow.com/questions/58811299/is-there-any-way-to-use-ajv-to-load-an-schema-from-an-external-url
javascript, node.js, json, schema, ajv
1,573,527,037
se_2141520
stackoverflow
FRONTEND_DEVELOPMENT
JavaScript variable number of arguments to function
JavaScript variable number of arguments to function Is there a way to allow "unlimited" vars for a function in JavaScript? Example: load(var1, var2, var3, var4, var5, etc...) load(var1)
https://stackoverflow.com/questions/2141520/javascript-variable-number-of-arguments-to-function
javascript, function, arguments, argument-passing
1,264,529,189
se_66027514
stackoverflow
FRONTEND_DEVELOPMENT
Full Screen on Android Chrome showing white band on Notch Area
Full Screen on Android Chrome showing white band on Notch Area The javascript code that I'm using, to fullscreen my web app, var beginFullScreen = () => { const doc = window.document; const docEl = doc.documentElement; let requestFullScreen = docEl.requestFullscreen || docEl.mozRequestFullScreen || docEl.webkitR...
https://stackoverflow.com/questions/66027514/full-screen-on-android-chrome-showing-white-band-on-notch-area
javascript, html, css, reactjs
1,612,355,090
se_20818402
stackoverflow
FRONTEND_DEVELOPMENT
Paging kendo grid client side
Paging kendo grid client side I want to use a MVC helper to build a grid on the server side but after I want to add and remove rows on the client side. So I use the following wrapper: @(Html.Kendo().Grid<SIGEPos.Models.MyGridViewModel>() .Name("Grid") .Columns(columns => { columns.Bound(p => p.i...
https://stackoverflow.com/questions/20818402/paging-kendo-grid-client-side
javascript, kendo-ui, kendo-grid, kendo-asp.net-mvc, kendo-datasource
1,388,258,474
se_208105
stackoverflow
FRONTEND_DEVELOPMENT
How do I remove a property from a JavaScript object?
How do I remove a property from a JavaScript object? Given an object: let myObject = { "ircEvent": "PRIVMSG", "method": "newURI", "regex": "^http://.*" }; How do I remove the property regex to end up with the following myObject? let myObject = { "ircEvent": "PRIVMSG", "method": "newURI" };
https://stackoverflow.com/questions/208105/how-do-i-remove-a-property-from-a-javascript-object
javascript, object, properties
1,224,154,665
se_45356494
stackoverflow
FRONTEND_DEVELOPMENT
5xx or 4xx error with “No &#39;Access-Control-Allow-Origin&#39; header is present”
5xx or 4xx error with “No &#39;Access-Control-Allow-Origin&#39; header is present” My browser is logging the following message in the devtools console: No 'Access-Control-Allow-Origin' header is present on the requested resource.… The response had HTTP status code 503. Background: I have two apps. One that is a...
https://stackoverflow.com/questions/45356494/5xx-or-4xx-error-with-no-access-control-allow-origin-header-is-present
javascript, node.js, express, cors, fetch-api
1,501,173,502
se_79980211
stackoverflow
FRONTEND_DEVELOPMENT
How to redirect from index.html to main.html after animation ends?
How to redirect from index.html to main.html after animation ends? I am working on a web project with two HTML files, index.html and main.html, located in the same folder. My goal is to automatically redirect the user from index.html to main.html once the animation on the index page finishes. I have tried using setTim...
https://stackoverflow.com/questions/79980211/how-to-redirect-from-index-html-to-main-html-after-animation-ends
javascript, html
1,783,920,542
se_25979425
stackoverflow
FRONTEND_DEVELOPMENT
How to get timezone from address value with Google API?
How to get timezone from address value with Google API? I am trying to use the Google API time zones, and first you must geocode the address to get the lat/long for time zone. How would I go about doing this from a value in a textarea? 2 steps, convert textarea value to geocode example https://maps.googleapi...
https://stackoverflow.com/questions/25979425/how-to-get-timezone-from-address-value-with-google-api
javascript, jquery, timezone, google-api, geocoding
1,411,405,451
se_52114477
stackoverflow
FRONTEND_DEVELOPMENT
Download Image with url React
Download Image with url React Im working on a picture gallery. Im trying to make a mechanism that allows user to press button and download image. I have a url to the image. How can I do this?
https://stackoverflow.com/questions/52114477/download-image-with-url-react
javascript, reactjs, image, download
1,535,714,818
se_62245802
stackoverflow
FRONTEND_DEVELOPMENT
TypeScript Says Intersection Property Does Not Exist
TypeScript Says Intersection Property Does Not Exist I have a variable that starts out as one type, IPerson[], but after being mapped a couple of times, should have an _id property added to it, so like Array<IPerson & IWithId>. However, in the fourth-to-last-line, tyring to print the _id property gives me a TS error, ...
https://stackoverflow.com/questions/62245802/typescript-says-intersection-property-does-not-exist
javascript, typescript
1,591,535,324
se_58669189
stackoverflow
FRONTEND_DEVELOPMENT
HTML webpack plugin not injecting script to template
HTML webpack plugin not injecting script to template When trying to build the project, two HTML files get created i.e (dist/test.html and dist/src/index.html) dist/test.html /dist/src/index.html?88827167<script type="text/javascript" src="/assets/vendors.chunk.js"></script> <script type="text/javascript" src="/ass...
https://stackoverflow.com/questions/58669189/html-webpack-plugin-not-injecting-script-to-template
javascript, reactjs, webpack, webpack-4, html-webpack-plugin
1,572,680,617
se_17711874
stackoverflow
FRONTEND_DEVELOPMENT
from javascript to php to javascript -need correction
from javascript to php to javascript -need correction I'm making something and this code isn't working <script src='jq.js'></script> <script> function getURLParameter(name) { return decodeURI( (RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1] ); } nick = getURLParameter('kagNick') ...
https://stackoverflow.com/questions/17711874/from-javascript-to-php-to-javascript-need-correction
javascript, php, jquery
1,374,102,812
se_75967860
stackoverflow
FRONTEND_DEVELOPMENT
Why in next.js &quot; use client &quot; in top of component give me this error?
Why in next.js &quot; use client &quot; in top of component give me this error? when i use "use client" in the top of my component i get this error: event - compiled client and server successfully in 2.5s (265 modules) wait - compiling... event - compiled client and server successfully in 932 ms (265 modules) wait ...
https://stackoverflow.com/questions/75967860/why-in-next-js-use-client-in-top-of-component-give-me-this-error
javascript, node.js, reactjs, next.js, next.js13
1,680,990,829
se_43640917
stackoverflow
FRONTEND_DEVELOPMENT
How to find references (or usages) in Atom editor?
How to find references (or usages) in Atom editor? One of the most famous features of IDEs is as you know finding references (or usages) of variables, functions or classes in a project. I have been trying Atom Atom) for a while. I like it so far. But, I could not find a way to access to references (or usages) of var/f...
https://stackoverflow.com/questions/43640917/how-to-find-references-or-usages-in-atom-editor
javascript, ide, atom-editor
1,493,227,854
se_79980103
stackoverflow
FRONTEND_DEVELOPMENT
Flowing ideas across a page
Flowing ideas across a page I want to make a board and inside the board will be different texts flowing across a page with a floating animation, but the "texts" keep overlapping each other. My original idea was that each idea is wrapped in a bubble with a boundary so that the don't bleed into one another and that they...
https://stackoverflow.com/questions/79980103/flowing-ideas-across-a-page
javascript, html, css, animation
1,783,865,555
se_46522749
stackoverflow
FRONTEND_DEVELOPMENT
How can I solve &#39;Redirect has been blocked by CORS policy: No &#39;Access-Control-Allow-Origin&#39; header&#39;?
How can I solve &#39;Redirect has been blocked by CORS policy: No &#39;Access-Control-Allow-Origin&#39; header&#39;? I am working on an application using Vue.js. According to my setting, I need to pass to a variable to my URL when a setting change. $.get('http://172.16.1.157:8002/firstcolumn/' + c1v + '/' + c1b, funct...
https://stackoverflow.com/questions/46522749/how-can-i-solve-redirect-has-been-blocked-by-cors-policy-no-access-control-al
javascript, jquery, vue.js, vuejs2
1,506,936,010
se_31179690
stackoverflow
FRONTEND_DEVELOPMENT
GWT-JSNI passing a JavaScriptObject in an external JS library
GWT-JSNI passing a JavaScriptObject in an external JS library I'm desperately trying to create an Anno object in a JSNI method but I have a strange problem : the code in the jsni method doesn't work but if I do the same in my browser console, it works fine. Java Part I'm using a JSONArray in which I add some JSONObjec...
https://stackoverflow.com/questions/31179690/gwt-jsni-passing-a-javascriptobject-in-an-external-js-library
javascript, java, gwt, jsni
1,435,826,711
se_2474605
stackoverflow
FRONTEND_DEVELOPMENT
How to convert an HTMLElement to a string
How to convert an HTMLElement to a string I am going to create an XML element in JavaScript to exchange data with server side. I found I can do it with document.createElement. But I do not know how to convert it to string. Is there any API in browser to make it easier? Or is there any JS library including this API?t w...
https://stackoverflow.com/questions/2474605/how-to-convert-an-htmlelement-to-a-string
javascript, html
1,268,965,310
se_79966918
stackoverflow
FRONTEND_DEVELOPMENT
How to prevent jest from adding a stack strace for every message printed to stdout
How to prevent jest from adding a stack strace for every message printed to stdout By default, if any script run by Jest output something to stdout, it will be displayed with a stack trace : console.log This is my debug message that I printed using console.log at Query.#execute_ (src/query.js:73:17) and wh...
https://stackoverflow.com/questions/79966918/how-to-prevent-jest-from-adding-a-stack-strace-for-every-message-printed-to-stdo
javascript, node.js, jestjs
1,782,402,721
se_26072277
stackoverflow
FRONTEND_DEVELOPMENT
TypeError: Cannot read property &#39;node&#39; of undefined
TypeError: Cannot read property &#39;node&#39; of undefined I'm trying to install NPM. I first ran brew install node then curl -O https://www.npmjs.org/install.sh then ~ % sh install.sh this is what I get tar=/usr/bin/tar version: bsdtar 2.8.3 - libarchive 2.8.3 install npm@latest fetchi...
https://stackoverflow.com/questions/26072277/typeerror-cannot-read-property-node-of-undefined
javascript, node.js, installation, npm, homebrew
1,411,802,017
se_79972485
stackoverflow
FRONTEND_DEVELOPMENT
How to set consistent font fallback for mixed English/Hindi text in PptxGenJS?
How to set consistent font fallback for mixed English/Hindi text in PptxGenJS? I'm generating a PowerPoint programmatically with PptxGenJS (Node.js) that mixes English and Hindi (Devanagari) text on the same slide — for example, a bilingual title like "Email Migration Guide / ईमेल माइग्रेशन गाइड". What I'm trying to d...
https://stackoverflow.com/questions/79972485/how-to-set-consistent-font-fallback-for-mixed-english-hindi-text-in-pptxgenjs
javascript, node.js, unicode, powerpoint, pptxgenjs
1,782,977,468
se_5207948
stackoverflow
FRONTEND_DEVELOPMENT
Click on a javascript link within python?
Click on a javascript link within python? I am navigating a site using python's mechanize module and having trouble clicking on a javascript link for next page. I did a bit of reading and people suggested I need python-spidermonkey and DOMforms. I managed to get them installed by I am not sure of the syntax to actua...
https://stackoverflow.com/questions/5207948/click-on-a-javascript-link-within-python
javascript, python, screen-scraping, mechanize, spidermonkey
1,299,373,574
se_56211070
stackoverflow
FRONTEND_DEVELOPMENT
How to set input value by JavaScript document.querySelector
How to set input value by JavaScript document.querySelector Just I want to add input value using javascript. Here's priject link!> add to cart > Proceed to Checkout || then you get the checkout page. Actually I want to add automatically Zipcode value in the checkout page. I try this methood but dosen’t work document...
https://stackoverflow.com/questions/56211070/how-to-set-input-value-by-javascript-document-queryselector
javascript, jquery, input
1,558,292,578
se_53981230
stackoverflow
FRONTEND_DEVELOPMENT
Using Try/Catch with Promise.all
Using Try/Catch with Promise.all I have recently been reading about async/await and using try and catch to handle promise rejections, and have been applying it to some of my old code. I have the following: async function() { try { await Promise.all([some functions]); doIfNoError(); } catch (e...
https://stackoverflow.com/questions/53981230/using-try-catch-with-promise-all
javascript, node.js, async-await
1,546,202,209
se_79979600
stackoverflow
FRONTEND_DEVELOPMENT
Import a JSON file to JS code, compatible with old and current browsers
Import a JSON file to JS code, compatible with old and current browsers To import a JSON file into JS we were previously supposed to use the assert keyword: import people from './people.json' assert { type: 'json'}; With the 2023-03 update of the proposal assert was deprecated and replaced by the with keyword: import...
https://stackoverflow.com/questions/79979600/import-a-json-file-to-js-code-compatible-with-old-and-current-browsers
javascript, json, es6-modules
1,783,675,996
se_76601679
stackoverflow
FRONTEND_DEVELOPMENT
ERROR : Must supply api_key when using cloudinary with nestjs
ERROR : Must supply api_key when using cloudinary with nestjs I am writing a simple application in nestjs and using cloudinary to save product image. And getting error again : Must supply api_key. // cloudinary.provider.ts import { v2 as cloudinary } from 'cloudinary'; import { Provider } from '@nestjs/common'; expo...
https://stackoverflow.com/questions/76601679/error-must-supply-api-key-when-using-cloudinary-with-nestjs
javascript, html, nestjs, backend
1,688,354,566
se_21326370
stackoverflow
FRONTEND_DEVELOPMENT
Positioning of Div
Positioning of Div I have one issue in my work please have a look into it Here is my Js fiddle Demo I have a Draggable Div called Initialy i set a fixed top and Left.. Initially you can see the Draggable div touching the Mountain's peek. When i click the create button below the image gets zoomed and the posotion of t...
https://stackoverflow.com/questions/21326370/positioning-of-div
javascript, jquery, html, css, position
1,390,546,642
se_54738811
stackoverflow
FRONTEND_DEVELOPMENT
How to make an Async/await fetch post? getting 500 internal server error
How to make an Async/await fetch post? getting 500 internal server error I have succesfuly made a fetch post to my php api with my thisWorks() function, but I am trying to use fetch with async/await post () function but I keep getting back a 500 internal server error response when trying to do this which I'm not sure ...
https://stackoverflow.com/questions/54738811/how-to-make-an-async-await-fetch-post-getting-500-internal-server-error
javascript, php, rest, post, fetch
1,550,447,408
se_54045665
stackoverflow
FRONTEND_DEVELOPMENT
Lazy Loading Images in Next.js and/or in other forms of React server-side rendering
Lazy Loading Images in Next.js and/or in other forms of React server-side rendering I'm using Next.js for server-side rendering of a new project. I have a basic project with routing up and running. I'm using TypeScript, but I doubt it matters. I'd like to have images lazy loaded, but I didn't find any component that ...
https://stackoverflow.com/questions/54045665/lazy-loading-images-in-next-js-and-or-in-other-forms-of-react-server-side-render
javascript, reactjs, next.js, server-side-rendering
1,546,634,087
se_69360705
stackoverflow
FRONTEND_DEVELOPMENT
Cannot use import statement outside a module in node.js
Cannot use import statement outside a module in node.js I was working on the project on model.js file, then after that I need to import model.js file to Shareplace.js file. But after that the problem occurs into the console browser "Cannot use import statement outside a module". This is my Shareplace.js file code: imp...
https://stackoverflow.com/questions/69360705/cannot-use-import-statement-outside-a-module-in-node-js
javascript, node.js, npm
1,632,827,759
se_13546424
stackoverflow
FRONTEND_DEVELOPMENT
How to wait for a WebSocket&#39;s readyState to change
How to wait for a WebSocket&#39;s readyState to change I'm trying to implement a WebSocket with a fallback to polling. If the WebSocket connection succeeds, readyState becomes 1, but if it fails, readyState is 3, and I should begin polling. I tried something like this: var socket = new WebSocket(url); socket.onmessa...
https://stackoverflow.com/questions/13546424/how-to-wait-for-a-websockets-readystate-to-change
javascript, websocket, polling
1,353,797,139
se_31274329
stackoverflow
FRONTEND_DEVELOPMENT
How to get a list of the filenames in a folder?
How to get a list of the filenames in a folder? My website is serving a lot of pictures from /assets/photos/ folder. How can I get a list of the files in that folder with Javascript?
https://stackoverflow.com/questions/31274329/how-to-get-a-list-of-the-filenames-in-a-folder
javascript
1,436,286,455
se_57134297
stackoverflow
FRONTEND_DEVELOPMENT
How to force GTM to add tag in the &lt;head&gt;?
How to force GTM to add tag in the &lt;head&gt;? I've followed the below steps for adding AdSense script inside of my website: Now that you have the code head over to GTM. Create a new tag. Provide a name. Select custom HTML as the tag template. Copy and paste the code into the text field. Set the trigger to fire on ...
https://stackoverflow.com/questions/57134297/how-to-force-gtm-to-add-tag-in-the-head
javascript, html, google-tag-manager, adsense
1,563,720,768
se_68921130
stackoverflow
FRONTEND_DEVELOPMENT
Hide multi select option set field in Dyanmics 365
Hide multi select option set field in Dyanmics 365 I have a multiselect option set field in dynamcis 365 and I want to hide it based on the value of another field....my problem is that setVisible function is not available for this type of field. Is there any way I could handle it with javascript? What should I do?
https://stackoverflow.com/questions/68921130/hide-multi-select-option-set-field-in-dyanmics-365
javascript, dynamics-crm, microsoft-dynamics, dynamics-365
1,629,887,119
se_29246444
stackoverflow
FRONTEND_DEVELOPMENT
fetch(), how do you make a non-cached request?
fetch(), how do you make a non-cached request? with fetch('somefile.json'), it is possible to request that the file be fetched from the server and not from the browser cache? in other words, with fetch(), is it possible to circumvent the browser's cache?
https://stackoverflow.com/questions/29246444/fetch-how-do-you-make-a-non-cached-request
javascript, html, fetch-api
1,427,250,556
se_55912800
stackoverflow
FRONTEND_DEVELOPMENT
Is there a way to analyze a PostgreSQL query to make sure that the result only contains columns from a single table?
Is there a way to analyze a PostgreSQL query to make sure that the result only contains columns from a single table? I'd like to find a way to determine if a specific PostgreSQL query only returns results that contains non-derived columns from a single table. For example, the following query would meet the criteria: ...
https://stackoverflow.com/questions/55912800/is-there-a-way-to-analyze-a-postgresql-query-to-make-sure-that-the-result-only-c
javascript, sql, postgresql, abstract-syntax-tree
1,556,587,819
se_78598457
stackoverflow
FRONTEND_DEVELOPMENT
Does sending value to fucntion uses less memory than doing otherwise?
Does sending value to fucntion uses less memory than doing otherwise? I was doing leetcode and when i send value to a function (example: function(x)) it uses less memory and gives shorter runtime than doing otherwise (example: function()). Is that supposed to be like that? This code uses more memory and has longer run...
https://stackoverflow.com/questions/78598457/does-sending-value-to-fucntion-uses-less-memory-than-doing-otherwise
javascript, function, closures
1,717,933,055
se_44632090
stackoverflow
FRONTEND_DEVELOPMENT
Bootstrap Validator validate number range
Bootstrap Validator validate number range How to set validation for the range for two numbers. I want to set max value of the first number to value of second number and min value of the second number to value of first numb. Here is my js code: min_num : { validators : { integer : { message : ...
https://stackoverflow.com/questions/44632090/bootstrap-validator-validate-number-range
javascript, java, jquery, validation, bootstrap-4
1,497,879,320
se_74958609
stackoverflow
FRONTEND_DEVELOPMENT
Redux + Persist with tab state sync and disabling serializableCheck
Redux + Persist with tab state sync and disabling serializableCheck I use redux toolkit + redux-persist with state sync across tabs, everything works fine, config looks like this: export const store = configureStore({ reducer: persistedReducer, middleware: [ createStateSyncMiddleware({ blacklist:...
https://stackoverflow.com/questions/74958609/redux-persist-with-tab-state-sync-and-disabling-serializablecheck
javascript, reactjs, redux, react-redux, redux-persist
1,672,379,953
se_69425243
stackoverflow
FRONTEND_DEVELOPMENT
How to handle Play Pause state with autoplay
How to handle Play Pause state with autoplay I have a problem with the autoplay policy it completely messes my custom layout. In the component, there is a "play" state by default set as true to trigger autoplay but after refreshing a page autoplay doesn't work even if the "play" state is set as true. Now the problem i...
https://stackoverflow.com/questions/69425243/how-to-handle-play-pause-state-with-autoplay
javascript, reactjs, react-player
1,633,267,360
se_11116120
stackoverflow
FRONTEND_DEVELOPMENT
Clone Entire JavaScript ScriptEngine
Clone Entire JavaScript ScriptEngine I need to somehow deep clone the entire set of bindings of my ScriptEngine object. What I have tried I have tried so far the Cloner library to clone the entire Bindings structure. This would be great if it worked because it would have ensured a precise copy, including private va...
https://stackoverflow.com/questions/11116120/clone-entire-javascript-scriptengine
javascript, java, clone, rhino, scriptengine
1,340,182,920
se_48643716
stackoverflow
FRONTEND_DEVELOPMENT
Webpack dev server hot reloading not working with reactjs, though i have done &quot;inline:true&quot;?
Webpack dev server hot reloading not working with reactjs, though i have done &quot;inline:true&quot;? Why does Hot Module Replacement stop working on webpack dev server? My package.json file: { "name": "routing-react", "version": "1.0.0", "description": "Just a little ReactJS Training Ground", "main": "inde...
https://stackoverflow.com/questions/48643716/webpack-dev-server-hot-reloading-not-working-with-reactjs-though-i-have-done-i
javascript, reactjs, webpack, webpack-dev-server, webpack-hmr
1,517,922,148
se_79978184
stackoverflow
FRONTEND_DEVELOPMENT
React Hook Form validation across multiple tabs: is useWatch + custom validation the right approach?
React Hook Form validation across multiple tabs: is useWatch + custom validation the right approach? I am working on a React application where a single form is divided across multiple tabs. The form is managed using React Hook Form, while each tab contains a separate group of fields. The issue is that the Add or Updat...
https://stackoverflow.com/questions/79978184/react-hook-form-validation-across-multiple-tabs-is-usewatch-custom-validation
best-practices, javascript, reactjs, react-hook-form
1,783,583,263
se_16990064
stackoverflow
FRONTEND_DEVELOPMENT
Are array views possible?
Are array views possible? I would like to know if it's possible to mimic the constrained boundaries behaviour of an ArrayBufferView over an ArrayBuffer in a cross-browser compatible way (down to say IE8). Consider a Javascript array structure like this: var a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; I would like to obtai...
https://stackoverflow.com/questions/16990064/are-array-views-possible
javascript, arrays
1,370,627,194
se_18398406
stackoverflow
FRONTEND_DEVELOPMENT
How can I equal random function and input value?
How can I equal random function and input value? My Demo Jsfiddle My code : Html <canvas id="random" title="Click to Change"></canvas> <input name="rand" type="text" id="rand" data-filter="false"/> <span id="rands"></span> jQuery function Random() { var length = 6, charset = "ABCDEFGHIJKLMNOPQRSTU...
https://stackoverflow.com/questions/18398406/how-can-i-equal-random-function-and-input-value
javascript, jquery, if-statement, canvas
1,377,246,982
se_20876148
stackoverflow
FRONTEND_DEVELOPMENT
jQuery th equals option on a table
jQuery th equals option on a table I have a table with header th names populated dynamically as id, title, description, externalid. I am trying to find column name with jQuery as th:contans to do operation on id. But interestingly it pulls externalid instead of id. I understood that contains picks column with id, but ...
https://stackoverflow.com/questions/20876148/jquery-th-equals-option-on-a-table
javascript, jquery, html-table
1,388,635,421
se_79971738
stackoverflow
FRONTEND_DEVELOPMENT
How to encrypt and decrypt specific fields in a React Context before storing them in Firestore?
How to encrypt and decrypt specific fields in a React Context before storing them in Firestore? // UserContext.jsx — global user profile state // Handles missing Firebase gracefully (works without credentials during dev) import { createContext, useContext, useState, useEffect } from 'react'; import { auth } from '../...
https://stackoverflow.com/questions/79971738/how-to-encrypt-and-decrypt-specific-fields-in-a-react-context-before-storing-the
javascript, reactjs, firebase, google-cloud-firestore
1,782,825,264
se_70334925
stackoverflow
FRONTEND_DEVELOPMENT
TypeError: Cannot read properties of undefined (reading &#39;url&#39;)
TypeError: Cannot read properties of undefined (reading &#39;url&#39;) I'm working on building a drag and drop card game. I'm not familiar with using the library react-dnd I wonder if this has something to do with it. If I use data already on the file, it works fine, but if I have to fetch the data, it creates This er...
https://stackoverflow.com/questions/70334925/typeerror-cannot-read-properties-of-undefined-reading-url
javascript, reactjs, react-dnd
1,639,399,679
se_67259468
stackoverflow
FRONTEND_DEVELOPMENT
d3 Selection merge error in TypeScript: Types of property &#39;merge&#39; are incompatible
d3 Selection merge error in TypeScript: Types of property &#39;merge&#39; are incompatible I have this code that does the D3 enter/merge/exit pattern for D3 Stacked Bar Chart. I'm trying to port this over to TypeScript for type safety and getting the following error in merge operation. Note: this code works fine in Ja...
https://stackoverflow.com/questions/67259468/d3-selection-merge-error-in-typescript-types-of-property-merge-are-incompatib
javascript, typescript, d3.js
1,619,396,770
se_66951417
stackoverflow
FRONTEND_DEVELOPMENT
I am trying to show rating star icon but unfortunately not showing properly in table using JavaScript
I am trying to show rating star icon but unfortunately not showing properly in table using JavaScript Hi i am trying to show rating star icon a/c to rating number but unfortunately rating star icon is not showing properly please help me how can i show that ? a/c to rating number thanks. please check image https://ibb....
https://stackoverflow.com/questions/66951417/i-am-trying-to-show-rating-star-icon-but-unfortunately-not-showing-properly-in-t
javascript
1,617,617,742
se_34652563
stackoverflow
FRONTEND_DEVELOPMENT
using myproject/.npmrc with registry
using myproject/.npmrc with registry How do I setup a .npmrc file inside my project where I can define my own private registry? I don't want to have this kind of configuration in my user config .npmrc. Every other developer should be able to just git clone the project and run npm install. This is what I have so far: ...
https://stackoverflow.com/questions/34652563/using-myproject-npmrc-with-registry
javascript, node.js, npm
1,452,161,884
se_69033048
stackoverflow
FRONTEND_DEVELOPMENT
service firestore is not available
service firestore is not available I'm trying to connect to my firestore using plain javascript. (I wanna get up to speed and running for now) index.js: import app from './firebase.js' import { getFirestore } from 'https://www.gstatic.com/firebasejs/9.0.0/firebase-firestore.js' const db = getFirestore(app) However, t...
https://stackoverflow.com/questions/69033048/service-firestore-is-not-available
javascript, firebase, google-cloud-firestore
1,630,596,016
se_79972525
stackoverflow
FRONTEND_DEVELOPMENT
drag-and-drop store builder/plugin for a multi-vendor marketplace (similar to Amazon Brand Stores)?
drag-and-drop store builder/plugin for a multi-vendor marketplace (similar to Amazon Brand Stores)? I'm building a multi-vendor marketplace using the MERN stack (React + Node.js + MongoDB), and I'm looking for the best way to let each vendor create their own branded storefront. I'm trying to achieve something similar ...
https://stackoverflow.com/questions/79972525/drag-and-drop-store-builder-plugin-for-a-multi-vendor-marketplace-similar-to-am
javascript, html, plugins, drag-and-drop
1,782,983,305
se_78301960
stackoverflow
FRONTEND_DEVELOPMENT
Sequelize query special object notation
Sequelize query special object notation In the sequelize documentation there is this code: const { count, rows } = await Project.findAndCountAll({ where: { title: { [Op.like]: 'foo%' } }, offset: 10, limit: 2 }); console.log(count); console.log(rows); In JavaScript if a variable is declared as a...
https://stackoverflow.com/questions/78301960/sequelize-query-special-object-notation
javascript, node.js, sequelize.js
1,712,718,726
se_56378482
stackoverflow
FRONTEND_DEVELOPMENT
Why does if statement always return true?
Why does if statement always return true? I am trying to understand how logic works in JS. In: if (firstSymbol === "A" || "a" || "D" || "d") { if (secondSymbol === "z") { alert("It does!"); break; } } I expect it to say "It does!" and break where the firstSymbol is A, a, D or d AND the second...
https://stackoverflow.com/questions/56378482/why-does-if-statement-always-return-true
javascript, if-statement, logical-operators
1,559,219,913
se_79972826
stackoverflow
FRONTEND_DEVELOPMENT
the usefulness of await on my async login method
the usefulness of await on my async login method Is await on my code useful or not? And if it is, is its necessary or optional? static async login(req,res) { try { const email = req.body.email const password = req.body.password const user = await prisma.user.findUnique({where:{email:email}}...
https://stackoverflow.com/questions/79972826/the-usefulness-of-await-on-my-async-login-method
javascript, async-await
1,783,040,193
se_63800532
stackoverflow
FRONTEND_DEVELOPMENT
Convert dollars to cents in JavaScript
Convert dollars to cents in JavaScript I am trying to convert $3.77 (USD) to cents as follows: const number = "3.77" const separe = number.replace(".", "") Is that the correct way to convert USD to cents? because I have seen some reports with different code and not which one is correct, any ideas?
https://stackoverflow.com/questions/63800532/convert-dollars-to-cents-in-javascript
javascript
1,599,593,840
se_65570183
stackoverflow
FRONTEND_DEVELOPMENT
How to solve for: net::ERR_CONNECTION_REFUSED when GET data to React?
How to solve for: net::ERR_CONNECTION_REFUSED when GET data to React? I'm trying to get this API call to work using axios: const getData = () => { Axios.get("http://localhost:3000/security?select=symbol,company", {headers: {Authorization: 'Bearer 73Ntx3b6SwNXC7ANV3tw4wFfDdKntB26', "Access-Contr...
https://stackoverflow.com/questions/65570183/how-to-solve-for-neterr-connection-refused-when-get-data-to-react
javascript, reactjs, nginx, axios, postgrest
1,609,796,283
se_50233961
stackoverflow
FRONTEND_DEVELOPMENT
FCM Web Push Notifications - can&#39;t obtain token
FCM Web Push Notifications - can&#39;t obtain token This is really nocking me out after spending with such easy thing ver two days: I'm trying to implement FCM Web browser Push Notifications and I went through the google docs several times as well as I watched all official videos on youtube. It is really easy to get ...
https://stackoverflow.com/questions/50233961/fcm-web-push-notifications-cant-obtain-token
javascript, firebase, firebase-cloud-messaging
1,525,783,447
se_54033982
stackoverflow
FRONTEND_DEVELOPMENT
Owl carousel not displaying next previous button in simple html design
Owl carousel not displaying next previous button in simple html design I am using Owl carousel in my html desing. It is working fine but not displaying next and previous button. Then I have added button in my page still it is not displaying. And I have also implemented in same way in my Laravel blade template in it's ...
https://stackoverflow.com/questions/54033982/owl-carousel-not-displaying-next-previous-button-in-simple-html-design
javascript, jquery, html, owl-carousel
1,546,583,082
se_10685048
stackoverflow
FRONTEND_DEVELOPMENT
How to gray out an html checkbox?
How to gray out an html checkbox? I want to make readonly checkbox. Like this: <input type="checkbox" onclick="return false;"> I want the checkbox to look like it is disabled or grayed out. How can I do this?
https://stackoverflow.com/questions/10685048/how-to-gray-out-an-html-checkbox
javascript, jquery, css
1,337,602,390
se_46754688
stackoverflow
FRONTEND_DEVELOPMENT
Convert HEIC to JPG, using PHP or JS
Convert HEIC to JPG, using PHP or JS Anyone tried to convert a heic to jpg? I looked at the official repository, but I didn't understand how it works. All examples in the repository are working. But when I try to process my photo, made on the iPhone, the script refuses to process it.
https://stackoverflow.com/questions/46754688/convert-heic-to-jpg-using-php-or-js
javascript, php, converters, heif
1,508,068,189
se_8007763
stackoverflow
FRONTEND_DEVELOPMENT
JSON formatter lib
JSON formatter lib I'm looking for a way to format (as in whitespace, newlines where suitable) a JSON result so that I can display the actual result but well formatted. $.ajax({ url: "/Home/Send", type: "POST", data: JSON.stringify(request), dataType: "j...
https://stackoverflow.com/questions/8007763/json-formatter-lib
tooling-recommendation, javascript, jquery, json
1,320,402,012
se_53678438
stackoverflow
FRONTEND_DEVELOPMENT
Dev Tools size and position in Electron
Dev Tools size and position in Electron How can I change the size and position of Dev Tools in different modes in Electron? Currently I use a simple function in my main.js to open dev tools at app start that's basically just one line: mainWindow.webContents.openDevTools({ mode: 'bottom' }); or mainWindow.webContents....
https://stackoverflow.com/questions/53678438/dev-tools-size-and-position-in-electron
javascript, electron
1,544,229,341
se_79978199
stackoverflow
FRONTEND_DEVELOPMENT
How do I place this code within description of XMLs&#39; description
How do I place this code within description of XMLs&#39; description I have this XML AJAX code, and wondering how to place it within the element description of rss.xml-document? function loadDoc() { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && th...
https://stackoverflow.com/questions/79978199/how-do-i-place-this-code-within-description-of-xmls-description
javascript, namespaces
1,783,586,664
se_27280461
stackoverflow
FRONTEND_DEVELOPMENT
Prevent Chrome from prompting to save password from input box?
Prevent Chrome from prompting to save password from input box? Chrome was recently updated with an annoying popup that comes down from an icon in the address bar and prompts to save a password on the page when the user submits the form. There's no other input box on this page, and no other browser prompts to save this...
https://stackoverflow.com/questions/27280461/prevent-chrome-from-prompting-to-save-password-from-input-box
javascript, html, google-chrome
1,417,636,464
se_36728899
stackoverflow
FRONTEND_DEVELOPMENT
Knex.JS Auto Update Trigger
Knex.JS Auto Update Trigger I am using Knex.JS migration tools. However, when creating a table, I'd like to have a column named updated_at that is automatically updated when a record is updated in the database. For example, here is a table: knex.schema.createTable('table_name', function(table) { table.increment...
https://stackoverflow.com/questions/36728899/knex-js-auto-update-trigger
javascript, postgresql, knex.js
1,461,098,039
se_79347415
stackoverflow
FRONTEND_DEVELOPMENT
Disable &quot;keyboard&quot; option in Bootstrap modal instance and then enable it back on Photoswipe events
Disable &quot;keyboard&quot; option in Bootstrap modal instance and then enable it back on Photoswipe events I need to disable the "Esc" button in the Bootstrap modal instance when the Photoswipe instance is open to prevent closing the modal with that key when closing the lightbox. I get "Maximum call stack size excee...
https://stackoverflow.com/questions/79347415/disable-keyboard-option-in-bootstrap-modal-instance-and-then-enable-it-back-on
javascript, bootstrap-modal, photoswipe
1,736,561,769
se_1617667
stackoverflow
FRONTEND_DEVELOPMENT
What is difference between .htc and .js file?
What is difference between .htc and .js file? What is difference between .htc and .js file? Can we convert any .htc file to a .js file? The problem is if we use htc to make png fixes, then we add htc to css file using body { behavior: url("csshover3.htc"); } But this is not W3C valid, so want to convert the .ht...
https://stackoverflow.com/questions/1617667/what-is-difference-between-htc-and-js-file
javascript, html-components
1,256,382,047
se_18279141
stackoverflow
FRONTEND_DEVELOPMENT
JavaScript string encryption and decryption?
JavaScript string encryption and decryption? I'm interested in building a small app for personal use that will encrypt and decrypt information on the client side using JavaScript. The encrypted information will be stored in a database on a server, but never the decrypted version. It doesn't have to be super duper se...
https://stackoverflow.com/questions/18279141/javascript-string-encryption-and-decryption
encryption, javascript
1,376,674,822
se_41710834
stackoverflow
FRONTEND_DEVELOPMENT
How to prevent material icon text from showing up when Google&#39;s JS fails to convert them?
How to prevent material icon text from showing up when Google&#39;s JS fails to convert them? How do you prevent material icon text from showing up when Google's JS fails to convert them to icons? Icons are defined in markup as such: <span class="material-icons">icon_name</span> Example (see the top row of buttons): ...
https://stackoverflow.com/questions/41710834/how-to-prevent-material-icon-text-from-showing-up-when-googles-js-fails-to-conv
javascript, css, icons, google-material-icons
1,484,709,681
se_45910217
stackoverflow
FRONTEND_DEVELOPMENT
JS grid performance comparison
JS grid performance comparison I was using angular-ui-grid (http://ui-grid.info/) to display tabular data. On the whole, it was quite slow and so we decided to use ag-grid (https://www.ag-grid.com/). This was much more performant and better to deal with for regular-sized data-sets. However, now we are working with s...
https://stackoverflow.com/questions/45910217/js-grid-performance-comparison
javascript, performance, ag-grid, react-virtualized, fin-hypergrid
1,503,876,836
se_79977920
stackoverflow
FRONTEND_DEVELOPMENT
How to remove scrollbar from Shopify modal pop up
How to remove scrollbar from Shopify modal pop up I'm using Shopify's "Buy Button" to embed a product collection on a website but I'm having some trouble customising certain parts of it. The main issue is a vertical scrollbar on the modal when you click into a product. It doesn't need it and it makes the page jump hor...
https://stackoverflow.com/questions/79977920/how-to-remove-scrollbar-from-shopify-modal-pop-up
javascript, html, css, shopify
1,783,519,723
se_36760314
stackoverflow
FRONTEND_DEVELOPMENT
How to make weak set or weak map iterable in ES6?
How to make weak set or weak map iterable in ES6? How to make weak set or weak map "iterable" in ES6 so that i can use for of loop : for(item of weakMap){console.log(item); }
https://stackoverflow.com/questions/36760314/how-to-make-weak-set-or-weak-map-iterable-in-es6
javascript, ecmascript-6
1,461,216,135
se_29891754
stackoverflow
FRONTEND_DEVELOPMENT
Cannot read property &#39;data&#39; of undefined kendo ui js grid with customdropdown
Cannot read property &#39;data&#39; of undefined kendo ui js grid with customdropdown Here is my js code: $(document).ready(function () { $("#grid").kendoGrid({ dataSource: { transport: { read: { url: '/Discount/Get', dataType: "json", ...
https://stackoverflow.com/questions/29891754/cannot-read-property-data-of-undefined-kendo-ui-js-grid-with-customdropdown
javascript, jquery, kendo-ui
1,430,126,609
se_73927667
stackoverflow
FRONTEND_DEVELOPMENT
Leaflet : removing rectangle
Leaflet : removing rectangle I need to draw a rectangle on a map with Leaflet, and remove it when I create another one. I call a function to do that and zoom on the rectangle. It creates the rectangle, but I'm unable to remove it when calling the function again. I can remove it if I do that just after having created t...
https://stackoverflow.com/questions/73927667/leaflet-removing-rectangle
javascript, leaflet
1,664,729,575
se_64367591
stackoverflow
FRONTEND_DEVELOPMENT
React app not working in Safari. Working fine on Chrome and FireFox but giving black layout for safari
React app not working in Safari. Working fine on Chrome and FireFox but giving black layout for safari My react app works in every browser, But not working in Safari on MacOS(Catalina OS & Version 13.1.2 ). I get no error, no console message, nothing that would give me some idea. It only renders blank screen in Safari...
https://stackoverflow.com/questions/64367591/react-app-not-working-in-safari-working-fine-on-chrome-and-firefox-but-giving-b
javascript, reactjs, docker, safari, cross-browser
1,602,750,218
se_45421692
stackoverflow
FRONTEND_DEVELOPMENT
How to pass request query parameters through a NodeJS application
How to pass request query parameters through a NodeJS application I'm currently working on learning NodeJs and am running into a problem with passing query parameters. The stack consists of express, request-promise, and mongodb. The design of the application I'm shooting for is to have an express.js that is basicall...
https://stackoverflow.com/questions/45421692/how-to-pass-request-query-parameters-through-a-nodejs-application
javascript, node.js, mongodb, express
1,501,521,001
se_78881252
stackoverflow
FRONTEND_DEVELOPMENT
Puppeteer PDF generation race condition with front-end event dispatch
Puppeteer PDF generation race condition with front-end event dispatch I'm working on a web application that generates PDFs using Puppeteer on the back-end, based on content rendered by a front-end Lightning Web Component (LWC). I'm encountering a timing issue where Puppeteer might be trying to generate the PDF before ...
https://stackoverflow.com/questions/78881252/puppeteer-pdf-generation-race-condition-with-front-end-event-dispatch
javascript, asynchronous, salesforce, puppeteer, lwc
1,723,861,106
se_63016710
stackoverflow
FRONTEND_DEVELOPMENT
How to read the pem file in nodejs?
How to read the pem file in nodejs? Working in the Encode and Decode using the NodeJS, I want to Encode the data using the RS512 algorithm, for using that algorithm I have to pass the secret key as a pem file, so I use require to import that pem file but I cannot be able to import that file The Code that I used is: co...
https://stackoverflow.com/questions/63016710/how-to-read-the-pem-file-in-nodejs
javascript, node.js, pem
1,595,341,477
se_46966689
stackoverflow
FRONTEND_DEVELOPMENT
How can I call method from data on vue.js?
How can I call method from data on vue.js? My vue component like this : <template> <ul class="nav nav-tabs nav-tabs-bg"> <li v-for="tab in tabs" role="presentation" :class="setActive(tab.url)"> <a :href="baseUrl + tab.url">{{tab.title}}</a> </li> </ul> </template> <script> export default...
https://stackoverflow.com/questions/46966689/how-can-i-call-method-from-data-on-vue-js
javascript, vue.js, vuejs2, vue-component, vuex
1,509,071,967
se_53480628
stackoverflow
FRONTEND_DEVELOPMENT
How to fix requires a peer of grunt@~0.4.0 while installing grunt plugins?
How to fix requires a peer of grunt@~0.4.0 while installing grunt plugins? I am trying to install some Grunt plugins like grunt-contrib-clean and grunt-contrib-watch using npm install grunt-contrib-clean --save-dev and npm install grunt-contrib-watch --save-dev I got these warnings: npm WARN stellarhse@1.0.0 requires...
https://stackoverflow.com/questions/53480628/how-to-fix-requires-a-peer-of-grunt0-4-0-while-installing-grunt-plugins
javascript, npm, gruntjs, grunt-contrib-watch, grunt-plugins
1,543,233,450
se_37042944
stackoverflow
FRONTEND_DEVELOPMENT
Getting element ID&#39;s for if/else statements
Getting element ID&#39;s for if/else statements Working on a project. I need the else statement to work but when I hit the submit button it just redirects to the "if" <head> <script> var judgmentAmount = document.getElementById('judgmentAmount'); var amountCollected = document.getElementById('amountCollected'...
https://stackoverflow.com/questions/37042944/getting-element-ids-for-if-else-statements
javascript, forms, if-statement, getelementbyid, window.open
1,462,425,571
se_79968688
stackoverflow
FRONTEND_DEVELOPMENT
Next.js Suspense streaming works in StackBlitz/VS Code browser but is buffered in Chrome/Firefox/Edge due to local AV/proxy
Next.js Suspense streaming works in StackBlitz/VS Code browser but is buffered in Chrome/Firefox/Edge due to local AV/proxy When the Meals Link is clicked, the whole MealsPage is displayed after a deliberate 3s delay. The page has 2 parts, the header and the actual meal content. The static sections of the meals page s...
https://stackoverflow.com/questions/79968688/next-js-suspense-streaming-works-in-stackblitz-vs-code-browser-but-is-buffered-i
javascript, reactjs, next.js
1,782,577,966
se_65653227
stackoverflow
FRONTEND_DEVELOPMENT
How to get the index of an element in a HTML collection when that element is clicked, using javascript
How to get the index of an element in a HTML collection when that element is clicked, using javascript I have five buttons in my HTML file. Seeing as they are five, I would like to be able to print the index of the specific button that has been clicked in the HTML collection. i.e on tapping btn 4 I should see 3 printe...
https://stackoverflow.com/questions/65653227/how-to-get-the-index-of-an-element-in-a-html-collection-when-that-element-is-cli
javascript, html, arrays, dom, dom-events
1,610,281,380
se_63421214
stackoverflow
FRONTEND_DEVELOPMENT
&quot;Debug&quot; function in Chrome
&quot;Debug&quot; function in Chrome probably a silly question, but somehow i ended up on the debug function available in Google Chrome Console, which if i try to print it on the console i get: ƒ debug(function, condition) { [Command Line API] } however i'm totally unable to console.log something from it in any way, ...
https://stackoverflow.com/questions/63421214/debug-function-in-chrome
javascript, google-chrome, debugging, google-chrome-devtools
1,597,448,289
se_79956400
stackoverflow
FRONTEND_DEVELOPMENT
How to avoid global variables (eg, tracking key presses)
How to avoid global variables (eg, tracking key presses) I've heard it's good practice to avoid global variables, especially in projects were security might be an issue in the future. Anything global should either be a const, or wrapped in an object with controlled access (eg by using closures etc). So what do you do ...
https://stackoverflow.com/questions/79956400/how-to-avoid-global-variables-eg-tracking-key-presses
javascript, global-variables
1,781,169,847
se_45244723
stackoverflow
FRONTEND_DEVELOPMENT
How to use noParse in webpack?
How to use noParse in webpack? I want to exclude this from my webpack file, by using this line of code given to me below. noParse: /node_modules\/localforage\/dist\/localforage.js/, But no matter what I try I it keeps on saying errors like ReferenceError: Unknown plugin "add-module-exports" specified in C:/.......
https://stackoverflow.com/questions/45244723/how-to-use-noparse-in-webpack
javascript, node.js, webpack, webpack-dev-server
1,500,662,699
se_2276770
stackoverflow
FRONTEND_DEVELOPMENT
jquery ui css and image files are in a different folder, how to configure?
jquery ui css and image files are in a different folder, how to configure? I am using the jquery ui, I downloaded the entire toolset. I put the css and images into a folder like: /images/jquery/base/ /images/jquery/ui-lightness/ How can I configure this so it works? (if that's possible)
https://stackoverflow.com/questions/2276770/jquery-ui-css-and-image-files-are-in-a-different-folder-how-to-configure
javascript, jquery, jquery-ui
1,266,358,470
se_10236749
stackoverflow
FRONTEND_DEVELOPMENT
Intercept PDF form submission with JavaScript?
Intercept PDF form submission with JavaScript? I have an embedded PDF form which is not a regular form. Nonetheless, there is a Submit button in the PDF which submits a regular HTTP GET query to a specified URL. Is there any way for me to intercept the submission of the form in JavaScript? I need to have custom behavi...
https://stackoverflow.com/questions/10236749/intercept-pdf-form-submission-with-javascript
javascript, forms, pdf, submit
1,334,869,494
se_31244163
stackoverflow
FRONTEND_DEVELOPMENT
Javascript - Handling redirect JSON response
Javascript - Handling redirect JSON response I have a small login form for an application I am working and I have a ajax request to a servlet that redirects to a new page (After Login is successful). So basically this is the code in the Java class which theoretically works. Code included as requested for JAVA CLASS: P...
https://stackoverflow.com/questions/31244163/javascript-handling-redirect-json-response
javascript, java, json, http-redirect
1,436,180,455
se_16592597
stackoverflow
FRONTEND_DEVELOPMENT
Issue with responsive columns having equal height
Issue with responsive columns having equal height Here is my debate, the problem is solved, but I cant figure out why the method used on CSS-Tricks didn't work. The only reason I can assume it didn't work was because my columns are responsive. Here is a JSFiddle of the problem. Solution 1 Nicolas Gallagher Method Won'...
https://stackoverflow.com/questions/16592597/issue-with-responsive-columns-having-equal-height
javascript, html, jquery, css, responsive-design
1,368,720,999
se_31248823
stackoverflow
FRONTEND_DEVELOPMENT
Gulp rename and base path
Gulp rename and base path I am searching for a solution allowing to modify the base part of path. I have a path like 'app/assets/theme/file.css' that I get with 'app/**/*.css' pattern and I would like to transform it to 'dist/assets/theme/file.css'. For now I am doing something like: gulp.src(paths.styles) .pipe(r...
https://stackoverflow.com/questions/31248823/gulp-rename-and-base-path
javascript, gulp, gulp-rename
1,436,193,820
se_7718935
stackoverflow
FRONTEND_DEVELOPMENT
Load scripts asynchronously
Load scripts asynchronously I am using several plugins, custom widgets and some other libraries from jQuery. As a result, I have several .js and .css files. I need to create a loader for my site because it takes some time to load. It will be nice if I can display the loader before importing all the: <script type="text...
https://stackoverflow.com/questions/7718935/load-scripts-asynchronously
javascript, ajax, html, asynchronous
1,318,282,304
se_9303160
stackoverflow
FRONTEND_DEVELOPMENT
If statement always true when comparing a value against two strings using || and ===
If statement always true when comparing a value against two strings using || and === I have some incomplete code where I want to display one alert box if I write the word "help", and say something else if anything else is entered. function prompter() { var reply = prompt("This script is made to help you learn about ne...
https://stackoverflow.com/questions/9303160/if-statement-always-true-when-comparing-a-value-against-two-strings-using-and
javascript, if-statement, equality, prompt, or-operator
1,329,348,290
se_66431335
stackoverflow
FRONTEND_DEVELOPMENT
How to send axios post request with date object in request body?
How to send axios post request with date object in request body? My api include name and date data Type of name is string .Type of date is string Also, In this project includes latest version of Vue.js postTodo(){ axios({ method: 'post', url: 'my-api', headers : { token: this....
https://stackoverflow.com/questions/66431335/how-to-send-axios-post-request-with-date-object-in-request-body
javascript, date, axios, iso8601
1,614,642,546
se_51480625
stackoverflow
FRONTEND_DEVELOPMENT
Outlook web add-in starts with error when use displayInFrame:true
Outlook web add-in starts with error when use displayInFrame:true I created a custom office add-in and it loads properly with Word/excel online, but shows loading errors through Outlook Online (tested with Chrome, IE and Edge) even though clicking through the prompt buttons eventually loads the add-in and everything w...
https://stackoverflow.com/questions/51480625/outlook-web-add-in-starts-with-error-when-use-displayinframetrue
javascript, office-js, outlook-web-addins
1,532,354,352