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_21724219 | stackoverflow | FRONTEND_DEVELOPMENT | Stop propagation for all events | Stop propagation for all events
I am calling e.stopPropagation() on almost every event that I have for my current application. How to stop the propagation for every event without having to explicitly call the method at the start of every function body? | https://stackoverflow.com/questions/21724219/stop-propagation-for-all-events | javascript, jquery | 1,392,198,605 |
se_43848153 | stackoverflow | FRONTEND_DEVELOPMENT | JavaScript API for Office getRange method | JavaScript API for Office getRange method
Is there a way to get a range by row, column, numRows, numColumns?
For example:
Excel.run(function (ctx) {
var sheet = ctx.workbook.worksheets.getActiveWorksheet();
var range = sheet.getRange(1, 2, 3, 4).load("values");
...
}); | https://stackoverflow.com/questions/43848153/javascript-api-for-office-getrange-method | javascript, excel, javascript-api-for-office | 1,494,247,829 |
se_79989960 | stackoverflow | FRONTEND_DEVELOPMENT | How can I locate an element in a nested div without selecting the outer div? | How can I locate an element in a nested div without selecting the outer div?
<div>
<div >
<h1>first item </h1>
<button>buy now</button>
</div>
<div >
<h1>second item </h1>
<button>buy now</button>
</div>
</div>
I want to be able to locate the first button based on the t... | https://stackoverflow.com/questions/79989960/how-can-i-locate-an-element-in-a-nested-div-without-selecting-the-outer-div | javascript, ui-automation, playwright | 1,785,704,454 |
se_21893463 | stackoverflow | FRONTEND_DEVELOPMENT | Javascript to Download String | Javascript to Download String
Trying to initiate a browser download in Javascript, but the data I want to be downloaded is in a string, not a file. I know if it were a file, the following would do it:
window.location.href = '/filepath/file.csv';
How can I get this same effect, only with a string (with csv data), no... | https://stackoverflow.com/questions/21893463/javascript-to-download-string | javascript | 1,392,847,308 |
se_20963864 | stackoverflow | FRONTEND_DEVELOPMENT | The case when x == !x return true in javascript | The case when x == !x return true in javascript
When a string contains only blank char (eg: space,tab,newline char), x == !x returns true.
Example:
"\t\n\r" == !"\t\n\r" // true
This is because when compare with ==, string with only blank char is converted to 0,
but for !, "\t\n\r" is considered as a non empty str... | https://stackoverflow.com/questions/20963864/the-case-when-x-x-return-true-in-javascript | javascript, compare, equality | 1,389,068,613 |
se_28576636 | stackoverflow | FRONTEND_DEVELOPMENT | Mouse click and Drag Instead of Horizontal Scroll bar (To view full content of child DIV) | Mouse click and Drag Instead of Horizontal Scroll bar (To view full content of child DIV)
I need Mouse click and Drag instead of Horizontal scroll bar.
When i click and drag the child div that should move on left/right respect to dragging direction.
Any solution with css or jquery/JS
My code:
.parent {
width: 300... | https://stackoverflow.com/questions/28576636/mouse-click-and-drag-instead-of-horizontal-scroll-bar-to-view-full-content-of-c | javascript, jquery, html, css | 1,424,237,487 |
se_41599673 | stackoverflow | FRONTEND_DEVELOPMENT | reCAPTCHA 2.0 not appearing in Safari (works in Edge, Chrome, and Firefox) | reCAPTCHA 2.0 not appearing in Safari (works in Edge, Chrome, and Firefox)
I just integrated the Google reCAPTCHA 2.0 into my site. It works as expected in Chrome, Firefox, and Edge, but it doesn't work / appear in Safari on my MacBook Pro.
MacBook Pro: macOS Sierra version 10.12.2.
Safari: Version 10.0.2 (12602.3.1... | https://stackoverflow.com/questions/41599673/recaptcha-2-0-not-appearing-in-safari-works-in-edge-chrome-and-firefox | javascript, safari, dhtmlx, recaptcha | 1,484,164,728 |
se_24976150 | stackoverflow | FRONTEND_DEVELOPMENT | How to show console output on webpage? | How to show console output on webpage?
When I go to websites like Codecademy or JSBin, I notice that they allow you to see console output. How does that work?
Just to clarify, let's say a user types this in a textbox
console.log('hello');
How can I make the output on the actual web page and just not the browser's... | https://stackoverflow.com/questions/24976150/how-to-show-console-output-on-webpage | javascript, console, console.log, jsbin | 1,406,414,168 |
se_66559996 | stackoverflow | FRONTEND_DEVELOPMENT | cannot be loaded because running scripts is disabled on this system when installing angular | cannot be loaded because running scripts is disabled on this system when installing angular
I have downloaded nodejs (v14.16.0) on my pc and I tried to install angular using this command: npm install -g @angular/cli
But when I try to check the version of the angular using command ng version it is showing me this error... | https://stackoverflow.com/questions/66559996/cannot-be-loaded-because-running-scripts-is-disabled-on-this-system-when-install | javascript, angular, powershell, command-line-interface | 1,615,360,613 |
se_74995699 | stackoverflow | FRONTEND_DEVELOPMENT | Google Pay Error: API Unable to download payment manifest | Google Pay Error: API Unable to download payment manifest
When I load my website I get this error:
Unable to download payment manifest "https://pay.google.com/about/".
This errors shows up indefinitely and eventually crashes the website. It happened when I developed my own code using the Docs. It happened also when I ... | https://stackoverflow.com/questions/74995699/google-pay-error-api-unable-to-download-payment-manifest | javascript, reactjs, google-pay | 1,672,761,559 |
se_60537526 | stackoverflow | FRONTEND_DEVELOPMENT | How to set up an update route in Express | How to set up an update route in Express
I am building a MEVN stack CRUD app (Vue, Node, Express, MongoDB). I am attempting to set up the following Express route for my app...
postRoutes.post('/update/:id', async(req, res)=> {
const collection = await loadPostsCollection();
let id = req.params.id;
let res... | https://stackoverflow.com/questions/60537526/how-to-set-up-an-update-route-in-express | javascript, node.js, mongodb, express, vue.js | 1,583,376,525 |
se_23226587 | stackoverflow | FRONTEND_DEVELOPMENT | How to fill a form by id of input in Casperjs? | How to fill a form by id of input in Casperjs?
I am using Casperjs 1.1.0-beta3 and trying to fill a form by an 'id' selector. I have successfully have used "input[name='userID']" but using an 'id' as a selector always fails with an error similar to the below.
CasperError: Errors encountered while filling form: no fi... | https://stackoverflow.com/questions/23226587/how-to-fill-a-form-by-id-of-input-in-casperjs | javascript, phantomjs, casperjs | 1,398,188,423 |
se_72855185 | stackoverflow | FRONTEND_DEVELOPMENT | JavaScript Typing Effect Function | JavaScript Typing Effect Function
I'm trying to write a JS function that takes one argument, txt and prints it letter by letter, I already have a code, but when I try to 'convert' it as a function it stops working. Any ideas?
var myText = "Text to be displayed";
var myArray = myText.split("");
var loopTimer;
... | https://stackoverflow.com/questions/72855185/javascript-typing-effect-function | javascript, function, settimeout | 1,656,929,958 |
se_34033937 | stackoverflow | FRONTEND_DEVELOPMENT | jsPDF addHTML get full contents of scrolling element | jsPDF addHTML get full contents of scrolling element
How do I get jsPDF to create an image/pdf from an element that has overflow set so that it has scrollbars. The following example pasted into the addHTML Have a Play page (http://mrrio.github.io/jsPDF/) will only generate a pdf for the section of the div that is sho... | https://stackoverflow.com/questions/34033937/jspdf-addhtml-get-full-contents-of-scrolling-element | javascript, jspdf | 1,449,023,924 |
se_30848249 | stackoverflow | FRONTEND_DEVELOPMENT | How to wait for page to load completely using JavaScript in Selenium | How to wait for page to load completely using JavaScript in Selenium
I'm trying get for page to load completely before doing an action. I don't want to start an action while loading circle on the browser tab is still turning. My wait for ajax function is not working for some cases, especially for new page loading. My ... | https://stackoverflow.com/questions/30848249/how-to-wait-for-page-to-load-completely-using-javascript-in-selenium | java, javascript, selenium, webdriver, selenium-chromedriver | 1,434,379,761 |
se_28921853 | stackoverflow | FRONTEND_DEVELOPMENT | Uncaught TypeError: Cannot read property 'filter' of undefined | Uncaught TypeError: Cannot read property 'filter' of undefined
My custom filter is giving me an error.
Uncaught TypeError: Cannot read property 'filter' of undefined
code :
angular.module('PatientApp', []).filter('ageFilter', function() {
// birthday is a date
function calculateAge(birthday) {
... | https://stackoverflow.com/questions/28921853/uncaught-typeerror-cannot-read-property-filter-of-undefined | javascript, angularjs | 1,425,775,669 |
se_1839983 | stackoverflow | FRONTEND_DEVELOPMENT | How to get an image's DPI? | How to get an image's DPI?
Can I know an image dpi (horizontal and vertical resolution) using javascript ? | https://stackoverflow.com/questions/1839983/how-to-get-an-images-dpi | javascript | 1,259,848,435 |
se_19657815 | stackoverflow | FRONTEND_DEVELOPMENT | Case-insensitive queries with Amazon Dynamo DB | Case-insensitive queries with Amazon Dynamo DB
In In DynamoDB, string values are case sensitive. In my app, users can search the db for a profile name. However, if they searched for, say 'alan', then 'Alan' would not be returned in the search results. How can I allow users to specify case insensitive searches to retri... | https://stackoverflow.com/questions/19657815/case-insensitive-queries-with-amazon-dynamo-db | javascript, node.js, angularjs, express, amazon-dynamodb | 1,383,048,486 |
se_41242502 | stackoverflow | FRONTEND_DEVELOPMENT | jQuery $.getJSON method still giving CORS error | jQuery $.getJSON method still giving CORS error
Here's my code based off this question
$(document).ready(function(){
$('#new-quote').click(function(){
var url = 'http://api.forismatic.com/api/1.0/?format=jsonp&jsonp=_';
$.getJSON(url, function(data){
console.log(data);
});
});
});
This get's m... | https://stackoverflow.com/questions/41242502/jquery-getjson-method-still-giving-cors-error | javascript, jquery, json, ajax | 1,482,237,314 |
se_53251958 | stackoverflow | FRONTEND_DEVELOPMENT | How do I clear and change background colour of a canvas? | How do I clear and change background colour of a canvas?
Background colour has to be changed with the colour I'm drawing with.
So if i'm drawing with the colour red on the canvas I want to click the clear button and the canvas div will clear all the drawings and change the background colour to red.
Here is what I ha... | https://stackoverflow.com/questions/53251958/how-do-i-clear-and-change-background-colour-of-a-canvas | javascript, html, css, html5-canvas | 1,541,961,719 |
se_74849024 | stackoverflow | FRONTEND_DEVELOPMENT | Game - Calculate player's diagonal movement | Game - Calculate player's diagonal movement
The issue I'm facing is caused in a function that calculates the player's diagonal movement.
I have already searched and tried several solutions unsuccessfully. For a few tiles eventually... and after that my character would go in strange directions - whilst trying to ge... | https://stackoverflow.com/questions/74849024/game-calculate-players-diagonal-movement | javascript | 1,671,444,714 |
se_35402430 | stackoverflow | FRONTEND_DEVELOPMENT | Angular Material DateTimepicker | Angular Material DateTimepicker
I am using this http://logbon72.github.io/angular-material-datetimepicker/ (Angular Material Date Time picker)
It works well when only one is present
<md-input-container flex-gt-md="200">
<input time="false" date="true" mdc-datetime-picker type="text" id="date"
placehold... | https://stackoverflow.com/questions/35402430/angular-material-datetimepicker | javascript, angularjs, angular-material | 1,455,516,015 |
se_71679812 | stackoverflow | FRONTEND_DEVELOPMENT | How to improve this nested for loop using GAS? | How to improve this nested for loop using GAS?
I'd like to learn an alternative way to run this for loop, because currently, it sets the value through each iteration and as this can get large, it better be more performant.
function calculate() {
const ss = SpreadsheetApp.getActiveSpreadsheet();
const settingSheet = ss... | https://stackoverflow.com/questions/71679812/how-to-improve-this-nested-for-loop-using-gas | javascript, google-sheets, google-apps-script | 1,648,653,127 |
se_33148166 | stackoverflow | FRONTEND_DEVELOPMENT | How to export XML data to excel using JavaScript? | How to export XML data to excel using JavaScript?
I have a variable that contains XML data and I need to export that into MS Excel? How can I achieve that using JavaSript and/or JQuery? | https://stackoverflow.com/questions/33148166/how-to-export-xml-data-to-excel-using-javascript | javascript, jquery, xml, excel | 1,444,910,883 |
se_73016990 | stackoverflow | FRONTEND_DEVELOPMENT | How to convert from String to the other data type where the data type is stored in a variable - JAVASCRIPT | How to convert from String to the other data type where the data type is stored in a variable - JAVASCRIPT
I have a requirement to convert from String to the multiple other data types dynamically in Javascript. The datatype name is stored in a variable.
For example
let dt = 'Integer';
let toConvert = '1';
//I want to ... | https://stackoverflow.com/questions/73016990/how-to-convert-from-string-to-the-other-data-type-where-the-data-type-is-stored | javascript, types, type-conversion | 1,658,114,480 |
se_75852768 | stackoverflow | FRONTEND_DEVELOPMENT | EventListener add and remove not working correctly | EventListener add and remove not working correctly
My sample code is not working perfectly. Where have I gone wrong?
function clickButon (){
var btn = document.getElementById('updateText');
btn.addEventListener('click', function(){
updateHTml();
console.log('event click here ')
// jsFil... | https://stackoverflow.com/questions/75852768/eventlistener-add-and-remove-not-working-correctly | javascript, dom-events | 1,679,899,285 |
se_72505817 | stackoverflow | FRONTEND_DEVELOPMENT | Using waxjs to get information about NFTs in Wax Cloud Wallet - possible? | Using waxjs to get information about NFTs in Wax Cloud Wallet - possible?
I'm trying right now to integrate the Wax Cloud Wallet into my React/NextJS App.
For that, I'm using waxjs and the documentation here.
Right now, the User can log in to his account and the app receives the account name and two public keys. But I... | https://stackoverflow.com/questions/72505817/using-waxjs-to-get-information-about-nfts-in-wax-cloud-wallet-possible | javascript, reactjs, next.js, blockchain, atomicassets | 1,654,417,435 |
se_55235961 | stackoverflow | FRONTEND_DEVELOPMENT | How can I execute the change event on select when an option change? | How can I execute the change event on select when an option change?
How can I execute the onchange event handler on select when I change the option?
document.getElementById('selct').value = 2;
<select id="selct" onchange="alert('change success')">
<option value="0">val1</option>
<option value="1">val2</option>
... | https://stackoverflow.com/questions/55235961/how-can-i-execute-the-change-event-on-select-when-an-option-change | javascript, dom-events | 1,552,982,185 |
se_1391278 | stackoverflow | FRONTEND_DEVELOPMENT | 'contenteditable' change events | 'contenteditable' change events
I want to run a function when a user edits the content of a div with the contenteditable attribute. What's the equivalent of an onchange event?
I'm using jQuery, so a solution that uses jQuery is preferred. | https://stackoverflow.com/questions/1391278/contenteditable-change-events | javascript, jquery, html, contenteditable | 1,252,365,312 |
se_31623479 | stackoverflow | FRONTEND_DEVELOPMENT | Create unique id in each click of button using jQuery/JavaScript | Create unique id in each click of button using jQuery/JavaScript
I want to create unique id in each click of button using jQuery. I am creating file field by clicking on a button here I need first file field's id will remain constant(i.e-fileid) as it is when user will click on a button and the next file field will cr... | https://stackoverflow.com/questions/31623479/create-unique-id-in-each-click-of-button-using-jquery-javascript | javascript, jquery, css | 1,437,803,951 |
se_42172669 | stackoverflow | FRONTEND_DEVELOPMENT | How to fix the error "Form submission canceled because the form is not connected" in the latest browser versions (IE, Mozilla and Chrome) | How to fix the error "Form submission canceled because the form is not connected" in the latest browser versions (IE, Mozilla and Chrome)
I had this piece of code perfectly running until a week back when chrome was updated to version 56. Now it does not work, When I checked the console I got the error "Form ... | https://stackoverflow.com/questions/42172669/how-to-fix-the-error-form-submission-canceled-because-the-form-is-not-connected | javascript, forms, form-submit | 1,486,791,621 |
se_59024827 | stackoverflow | FRONTEND_DEVELOPMENT | Draw points on a circle's edge | Draw points on a circle's edge
I want draw something like this in javascript:
Example:
The bigger circle: r = 5
What do I want to do? to position circles by forming a circle
My questions are (I would like to know):
How much points can I draw on a circle if I know the ray,
the distance between each circle and the... | https://stackoverflow.com/questions/59024827/draw-points-on-a-circles-edge | javascript | 1,574,652,024 |
se_66259432 | stackoverflow | FRONTEND_DEVELOPMENT | Solve Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first | Solve Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first
I tried to make html page with javascript to play sound on mouse over but when I tried the code on first reload on chrome browser it give me this error. How I can solve this issue in chrome.
Uncaught (i... | https://stackoverflow.com/questions/66259432/solve-uncaught-in-promise-domexception-play-failed-because-the-user-didnt | javascript, html, audio, domexception | 1,613,649,280 |
se_54398715 | stackoverflow | FRONTEND_DEVELOPMENT | Vimeo player time tracking using script | Vimeo player time tracking using script
I am retrieving videos from Vimeo server to play course videos in my website. On click of tag im playing the video in popup.
<a class="btn btn-primary btn-lg popup-vimeo btn-video" href="<?php echo 'https://player.vimeo.com/video/' . $vdoid; ?>">
<i class="fa fa-play" aria-... | https://stackoverflow.com/questions/54398715/vimeo-player-time-tracking-using-script | javascript, jquery, html, vimeo, vimeo-player | 1,548,667,000 |
se_46633323 | stackoverflow | FRONTEND_DEVELOPMENT | My picture slideshow is not cooperating with my footer. Part of the slideshow is behind the footer and it won't scroll down | My picture slideshow is not cooperating with my footer. Part of the slideshow is behind the footer and it won't scroll down
I copied over a JavaScript picture slideshow and placed it in section tags inside the body. When I go to preview the site, a portion of the slideshow is behind my <footer> and I can't view it... | https://stackoverflow.com/questions/46633323/my-picture-slideshow-is-not-cooperating-with-my-footer-part-of-the-slideshow-is | javascript, html, css | 1,507,479,686 |
se_46395387 | stackoverflow | FRONTEND_DEVELOPMENT | Vanilla JavaScript animate margin-left of section | Vanilla JavaScript animate margin-left of section
I'm having an issue getting my slider to work. It's a simple system of clicking buttons to get to and from sections but I'm having issues getting it to work.
I have made a codepen here: https://codepen.io/ItsBrianAgar/pen/JrbZEz
This is the js I have so far.
It needs ... | https://stackoverflow.com/questions/46395387/vanilla-javascript-animate-margin-left-of-section | javascript, html, css | 1,506,291,357 |
se_46135142 | stackoverflow | FRONTEND_DEVELOPMENT | Is there any benefit to programming an entire site just by using JavaScript? | Is there any benefit to programming an entire site just by using JavaScript?
So recently I have come across a site known as "negafinity", I had looked at it as a normal site, until someone told me that the site was programmed using just JavaScript (presumed they had looked at their .js files).
Site URL: https://negafi... | https://stackoverflow.com/questions/46135142/is-there-any-benefit-to-programming-an-entire-site-just-by-using-javascript | javascript, html, css | 1,504,991,465 |
se_45822953 | stackoverflow | FRONTEND_DEVELOPMENT | How do I make an image move when I scroll down? | How do I make an image move when I scroll down?
Here is an example of what I want to achieve:
https://www.flambette.com/en/
I have tried to change the CSS properties of images but that effect does not satisfy my needs.
I have tried the following code:
mydocument.on('scroll',function() {
if (mydocument.scrollTop(... | https://stackoverflow.com/questions/45822953/how-do-i-make-an-image-move-when-i-scroll-down | javascript, html, css | 1,503,419,845 |
se_45824300 | stackoverflow | FRONTEND_DEVELOPMENT | HTML paragraph isn't going into a straight line | HTML paragraph isn't going into a straight line
I'm new to programming and I can't solve this problem. The paragraphs are coming out like a staircase.
p
p
p
p
p
The p's are examples, but here is all the code I have done so far.
Keep in mind I'm not the best at CSS (I'm still learning).
All help would b... | https://stackoverflow.com/questions/45824300/html-paragraph-isnt-going-into-a-straight-line | javascript, html, css | 1,503,425,253 |
se_23843775 | stackoverflow | FRONTEND_DEVELOPMENT | D3.JS time-series line chart with real-time data, panning and zooming | D3.JS time-series line chart with real-time data, panning and zooming
FIDDLE <<<< this has more up to date code than in the question.
I am trying to create a real-time (live-updating) time-series chart in d3, that can also be panned (in X) and zoomed. Ideally the functionality that I want is if the the right-most pa... | https://stackoverflow.com/questions/23843775/d3-js-time-series-line-chart-with-real-time-data-panning-and-zooming | javascript, d3.js, real-time, linechart, linegraph | 1,400,926,413 |
se_60907801 | stackoverflow | FRONTEND_DEVELOPMENT | How to use PCF (SOFT) shadows in three.js? | How to use PCF (SOFT) shadows in three.js?
How do you apply the PCF (SOFT) shadow type as seen in the Three.js online editor to your renderer in the form of javascript code? | https://stackoverflow.com/questions/60907801/how-to-use-pcf-soft-shadows-in-three-js | javascript, three.js, 3d, rendering, shadow | 1,585,434,706 |
se_51903152 | stackoverflow | FRONTEND_DEVELOPMENT | How to make a song loop/how to make a loop command | How to make a song loop/how to make a loop command
So I use discord.js and I've been successful with other commands but not a loop command for my discord bot.A loop command where it plays the song repeatedly until it the loop command is executed again. If you need me to add somethings in just let me know because I am ... | https://stackoverflow.com/questions/51903152/how-to-make-a-song-loop-how-to-make-a-loop-command | javascript, node.js, bots, discord, discord.js | 1,534,541,741 |
se_26120446 | stackoverflow | FRONTEND_DEVELOPMENT | Any Angular tools to visualise a project (large scale project )? | Any Angular tools to visualise a project (large scale project )?
I was wondering if I could receive some advice on visually representing a system built in VS with Angular code controlling the font end. I know of quite a few .NET code and project visualisation tools but am having trouble finding a suitable one for Ang... | https://stackoverflow.com/questions/26120446/any-angular-tools-to-visualise-a-project-large-scale-project | tooling-recommendation, javascript, angularjs | 1,412,078,787 |
se_43181894 | stackoverflow | FRONTEND_DEVELOPMENT | AngularJS invoking function whose name is constructed as a string | AngularJS invoking function whose name is constructed as a string
I have a situation in which there are main functions named as:
Add_<Element_Type>_Page()
where Element_Type is received as a parameter.
I can see two options to handle the invocation of the correct function:
Write a relatively long switch construct co... | https://stackoverflow.com/questions/43181894/angularjs-invoking-function-whose-name-is-constructed-as-a-string | javascript, angularjs | 1,491,214,351 |
se_68549026 | stackoverflow | FRONTEND_DEVELOPMENT | This can enable a Reflected Cross-Site Scripting (XSS) attack | This can enable a Reflected Cross-Site Scripting (XSS) attack
I have this code:
const implementation = async (req, res, next) => {
const rut = req.user && req.user.nickname.toUpperCase();
const data = req.body; // ERROR !!!
if (!rut || !data) res.send(400, {message: 'Error al recibir los datos'});
let MetaDat... | https://stackoverflow.com/questions/68549026/this-can-enable-a-reflected-cross-site-scripting-xss-attack | javascript, xss, sanitization | 1,627,405,086 |
se_12660124 | stackoverflow | FRONTEND_DEVELOPMENT | javascript jquery preview image before upload | javascript jquery preview image before upload
Refs:
How to preview a image before upload using JavaScript or jquery?
javascript - image preview before upload
How to upload preview image before upload through JavaScript
didn't worked for me... from above refs some only worked in ff and some is uploading first and th... | https://stackoverflow.com/questions/12660124/javascript-jquery-preview-image-before-upload | javascript, jquery, file-upload | 1,348,996,805 |
se_25913634 | stackoverflow | FRONTEND_DEVELOPMENT | Making a Turn.js book like in example? | Making a Turn.js book like in example?
I'm currently making a book with turn.js using Jquery of which is going well but I need a little bit of help. You see I'm trying to make a hard-backed journal-type book like the example shown here http://www.turnjs.com/#samples/html5/1. My question is, how can I get it so that th... | https://stackoverflow.com/questions/25913634/making-a-turn-js-book-like-in-example | javascript, jquery, css, html | 1,411,045,923 |
se_7177874 | stackoverflow | FRONTEND_DEVELOPMENT | how to make ExtJS' button's background image display correctly in Extjs 2.3 | how to make ExtJS' button's background image display correctly in Extjs 2.3
I know Extjs 2.3 is pretty old but i'm taking over someone's work here.so my hands are tied for now.
well i'm supposed to change few things in the interface and add new functionality.
this is my first real ExtJS work (jquery boy here)... | https://stackoverflow.com/questions/7177874/how-to-make-extjs-buttons-background-image-display-correctly-in-extjs-2-3 | javascript, extjs, javascript-framework | 1,314,198,849 |
se_39725716 | stackoverflow | FRONTEND_DEVELOPMENT | How to convert JavaScript array to binary data and back for WebSocket? | How to convert JavaScript array to binary data and back for WebSocket?
I have this example array:
[{
id: 1,
name: "test",
position: [1234,850], // random position on the map
points: 100 // example points
}];
Here is what I want to do:
Convert the array into binary data, and send the binary to my WebS... | https://stackoverflow.com/questions/39725716/how-to-convert-javascript-array-to-binary-data-and-back-for-websocket | javascript, websocket | 1,474,982,267 |
se_17874338 | stackoverflow | FRONTEND_DEVELOPMENT | Form output "values" are not correct? | Form output "values" are not correct?
This is in relation to a previous question (DIV "hiding" when changing dropdown value) that helped me fix one part of the problem but I now have 2 problems to fix and finalise this form.
If I don't add a Guest Ticket, there is no need for the Payment Method - the div c... | https://stackoverflow.com/questions/17874338/form-output-values-are-not-correct | javascript, html, css, forms, business-catalyst | 1,374,819,856 |
se_46287257 | stackoverflow | FRONTEND_DEVELOPMENT | Get a one word query string value (JS or jQuery) | Get a one word query string value (JS or jQuery)
I would like to get the value of a one word query string and store that string into a variable.
For example if a user goes to:
www.mysite.com/example
I need some JS or jQuery to take the string example and store it into a variable for use in another function.
I've done ... | https://stackoverflow.com/questions/46287257/get-a-one-word-query-string-value-js-or-jquery | javascript, jquery, url | 1,505,764,737 |
se_27290355 | stackoverflow | FRONTEND_DEVELOPMENT | How to add new input box when user want to input more data | How to add new input box when user want to input more data
my database have 2 table
college
course
college only store background of college like id, name, address and so on.
course have id from college and course1, course2 and ......
when college register to my system. they need to add their course..
EXAMPLE
so... | https://stackoverflow.com/questions/27290355/how-to-add-new-input-box-when-user-want-to-input-more-data | javascript, php | 1,417,685,142 |
se_21528821 | stackoverflow | FRONTEND_DEVELOPMENT | setTimeout breaking flow? | setTimeout breaking flow?
Could someone explain to me why this isn't working, the flow seems to be broken in my Javascript.
The last if-statement of the "otherFunction" always evaluates to true, but it seems that since I got a timeout there, the return never happens.
Do I somehow need to pass the return back by first ... | https://stackoverflow.com/questions/21528821/settimeout-breaking-flow | javascript | 1,391,434,566 |
se_18407836 | stackoverflow | FRONTEND_DEVELOPMENT | ValidatorEnable not disabling requiredfieldvalidator | ValidatorEnable not disabling requiredfieldvalidator
I have some client side script in an ASPX file that enables or disables a required field validator based on whether the form field is visible or not.
var oVal1 = document.getElementById(v1);
var oVal2 = document.getElementById(v2);
ValidatorEnable(oVal1, true);
Val... | https://stackoverflow.com/questions/18407836/validatorenable-not-disabling-requiredfieldvalidator | javascript, asp.net, client-side | 1,377,276,001 |
se_79924201 | stackoverflow | FRONTEND_DEVELOPMENT | Retrieve property of [object Map] with arrow function - JS | Retrieve property of [object Map] with arrow function - JS
Elo,
my issue is the following...
I have a map in js, which was created through a fetch(). This map however includes an arrow function, of which I can't grasp how to access one of its properties/values
Map(1) {
'<id>' => User {
id: '<id>',
bot: false... | https://stackoverflow.com/questions/79924201/retrieve-property-of-object-map-with-arrow-function-js | javascript, discord.js | 1,775,965,939 |
se_47134295 | stackoverflow | FRONTEND_DEVELOPMENT | Call jQuery function for URL-Paths wih same folder | Call jQuery function for URL-Paths wih same folder
I am currently running a jQuery script, in a .js file, and the script is getting longer and longer, with each new file added including my header.
I want to call a function for every URL opened up on my website which is in the same folder, running one function each URL... | https://stackoverflow.com/questions/47134295/call-jquery-function-for-url-paths-wih-same-folder | javascript, php, jquery, html | 1,509,962,624 |
se_79984147 | stackoverflow | FRONTEND_DEVELOPMENT | How to read the actual value of a cell as a string from an Excel file using Exceljs in Node.js? | How to read the actual value of a cell as a string from an Excel file using Exceljs in Node.js?
I have written a function that reads in data from an Excel file using the Exceljs library:
const exceljs = require('exceljs');
async function readExcelFile(excelFile) {
const table = [];
const workbook = new excel... | https://stackoverflow.com/questions/79984147/how-to-read-the-actual-value-of-a-cell-as-a-string-from-an-excel-file-using-exce | javascript, node.js, excel, type-conversion, exceljs | 1,784,801,664 |
se_14415860 | stackoverflow | FRONTEND_DEVELOPMENT | Setting third party cookie by using 1x1 <img> tag - Javascript doesn't drop cookie | Setting third party cookie by using 1x1 <img> tag - Javascript doesn't drop cookie
I've been trying to set a third party cookie using the following method:
SiteA
<img src="http://www.siteB.co.uk/cookie.php" />
SiteB
<script>
document.cookie = "name=thirdpartytest; expires=07/07/2013; path=/;domain=... | https://stackoverflow.com/questions/14415860/setting-third-party-cookie-by-using-1x1-img-tag-javascript-doesnt-drop-cook | javascript, image, cookies, third-party-cookies | 1,358,609,522 |
se_14446447 | stackoverflow | FRONTEND_DEVELOPMENT | How can I read a local text file in the browser? | How can I read a local text file in the browser?
I’m trying to implement a simple text file reader by creating a function that takes in the file’s path and converts each line of text into a char array, but it’s not working.
function readTextFile() {
var rawFile = new XMLHttpRequest();
rawFile.open("GET", "testing.... | https://stackoverflow.com/questions/14446447/how-can-i-read-a-local-text-file-in-the-browser | javascript, file-io, xmlhttprequest | 1,358,799,250 |
se_79989542 | stackoverflow | FRONTEND_DEVELOPMENT | UPI deep link popup causes JSP page to reload/navigate back while countdown timer is running | UPI deep link popup causes JSP page to reload/navigate back while countdown timer is running
I am developing a UPI payment flow in a JSP application.
When the page loads, I automatically trigger the UPI deep link. The UPI apps (Google Pay, PhonePe, Paytm, etc.) popup is displayed correctly.
At the same time, I have a ... | https://stackoverflow.com/questions/79989542/upi-deep-link-popup-causes-jsp-page-to-reload-navigate-back-while-countdown-time | javascript, jsp, deep-linking, upi | 1,785,516,846 |
se_79989404 | stackoverflow | FRONTEND_DEVELOPMENT | Chance of conflicts using stateful classes | Chance of conflicts using stateful classes
TL;DR: is it a bad practice to use a stateful JS class?
I am building a website using Node.js and Express, using MySQL as my DB.
To use the DB I have made a simple CRUD MySQL ORM to retrieve and save data in the DB.
Below is an excerpt of the utility class of my MySQL ORM whi... | https://stackoverflow.com/questions/79989404/chance-of-conflicts-using-stateful-classes | best-practices, javascript, mysql, node.js, orm | 1,785,484,517 |
se_71279337 | stackoverflow | FRONTEND_DEVELOPMENT | Expected an element called undefined but got empty | Expected an element called undefined but got empty
I wrote a simple array where I have a few elements.
After deleting an element, I noticed that it outputted "empty" but I was expecting an undefined datatype.
I ran the same code on MDN and got an undefined as a result.
I ran the code in different browsers but got "e... | https://stackoverflow.com/questions/71279337/expected-an-element-called-undefined-but-got-empty | javascript, arrays | 1,645,900,636 |
se_79986423 | stackoverflow | FRONTEND_DEVELOPMENT | React use() cache gets overwritten by an older Promise after invalidation | React use() cache gets overwritten by an older Promise after invalidation
I am using React 19.2 with Vite.
I am playing around with a small Promise cache for React 19 use() and I cannot figure out the best way to handle this.
So I start with one request and it takes 1.5 seconds. Before it finishes I delete the cache e... | https://stackoverflow.com/questions/79986423/react-use-cache-gets-overwritten-by-an-older-promise-after-invalidation | javascript, reactjs, caching, promise | 1,785,181,410 |
se_56439062 | stackoverflow | FRONTEND_DEVELOPMENT | How to service error if there is not specific key, but it should be | How to service error if there is not specific key, but it should be
I'm using fetch on https://www.googleapis.com/books/v1/volumes?q=wiedzmin . If you go to this link you can see that it is not any volumeInfo.authors in 9th object (from line 545 to 602).
It gives me an error:
Uncaught (in promise) TypeError: Cannot r... | https://stackoverflow.com/questions/56439062/how-to-service-error-if-there-is-not-specific-key-but-it-should-be | javascript, object, promise, fetch | 1,559,632,505 |
se_62863547 | stackoverflow | FRONTEND_DEVELOPMENT | Save canvas data as mp4 - Javascript | Save canvas data as mp4 - Javascript
I have an animated canvas, I want to convert that into mp4. I am using MediaRecorder to capture the screen and then converting that Blob. I learned that MediaRecorder does not allow recording in mp4, so I am forced to get the canvas in webm. Here is what I have tried:
<canvas i... | https://stackoverflow.com/questions/62863547/save-canvas-data-as-mp4-javascript | javascript, canvas, mp4 | 1,594,570,797 |
se_64617228 | stackoverflow | FRONTEND_DEVELOPMENT | CleanWebpackPlugin does not clean in Webpack 5 | CleanWebpackPlugin does not clean in Webpack 5
I am using latest version of webpack 5.3.2 with "clean-webpack-plugin": "^3.0.0". And apparently the plugin does not clean dist folder when I build.
Here's my webpack info:
Binaries:
Node: 12.18.1 - ~/.nvm/versions/node/v12.18.1/bin/node
Yarn: 1.22.4 - ~/.nvm/ve... | https://stackoverflow.com/questions/64617228/cleanwebpackplugin-does-not-clean-in-webpack-5 | javascript, webpack, webpack-dev-server, webpack-5, webpack-plugin | 1,604,103,211 |
se_69661913 | stackoverflow | FRONTEND_DEVELOPMENT | How do you draw the World map with a correct India map using D3.js | How do you draw the World map with a correct India map using D3.js
I am trying to create world map by using D3.js. The India map outlines are not correct. I am confused, should it be fixed via topo json values or via any other way.
World map
Here is my world map topo json file.
https://cdn.jsdelivr.net/npm/world-atlas... | https://stackoverflow.com/questions/69661913/how-do-you-draw-the-world-map-with-a-correct-india-map-using-d3-js | javascript, svg, d3.js, choropleth, topojson | 1,634,818,921 |
se_79987599 | stackoverflow | FRONTEND_DEVELOPMENT | What is difference between "self" from "self=super()" and "this"? | What is difference between "self" from "self=super()" and "this"?
In response to the closing of this question, the meaning of self, here, is the return value of super() not the window.self. Therefore, I do not see how the linked post relates to this question. It does, perhaps, make one wo... | https://stackoverflow.com/questions/79987599/what-is-difference-between-self-from-self-super-and-this | javascript, custom-element | 1,785,261,214 |
se_935127 | stackoverflow | FRONTEND_DEVELOPMENT | How to access parent Iframe from JavaScript | How to access parent Iframe from JavaScript
Well, I have an IFrame, which calls a same domain page.
My problem is that I want to access some information from this parent Iframe from this called page (from JavaScript). How can I access this Iframe?
Details: There are several Iframes just like this one, that can have th... | https://stackoverflow.com/questions/935127/how-to-access-parent-iframe-from-javascript | javascript, iframe | 1,243,867,387 |
se_79989200 | stackoverflow | FRONTEND_DEVELOPMENT | How can I open my game on the user´s mobile device from my website? | How can I open my game on the user´s mobile device from my website?
I want to open my game on the user´s device when the user visits my website and when the user has already installed my game on his mobile iOS/Android device. How can I open my game on the user´s device when the user visits my website?
I have trie... | https://stackoverflow.com/questions/79989200/how-can-i-open-my-game-on-the-user%c2%b4s-mobile-device-from-my-website | javascript, android, html, ios | 1,785,417,535 |
se_79986203 | stackoverflow | FRONTEND_DEVELOPMENT | Canvas Benchmark vs. Browser Profiler | Canvas Benchmark vs. Browser Profiler
TLDR; Firefox and Chrome show that my performance improvements made my game significantly slower. I made a benchmark that shows the opposite.
Background
I'm optimizing my HTML5 canvas game. I've read advice over and over again to draw vector textures on an offscreen canvas and use... | https://stackoverflow.com/questions/79986203/canvas-benchmark-vs-browser-profiler | javascript, canvas, html5-canvas, profiling | 1,785,131,853 |
se_79906166 | stackoverflow | FRONTEND_DEVELOPMENT | Is this JS script vulnerable to XSS? | Is this JS script vulnerable to XSS?
Okay so i have a JS function that take my server response that would be multiple html Elements.
I add all of those elements with innerHTML and i know it can cause XSS attack but i struggle to understand how XSS work but i have a vague idea on how it work. I was just wondering if in... | https://stackoverflow.com/questions/79906166/is-this-js-script-vulnerable-to-xss | javascript, php | 1,773,318,371 |
se_79989105 | stackoverflow | FRONTEND_DEVELOPMENT | Best way to store a JS accessible and amateur user editable spreadsheet | Best way to store a JS accessible and amateur user editable spreadsheet
So I have an Excel workbook that stores multiple sheets of data, and I've been using basic HTML, CSS and JS code to make charts out of the data, which is read using the XLSX library for Javascript, and displaying them on a website.
The problem is ... | https://stackoverflow.com/questions/79989105/best-way-to-store-a-js-accessible-and-amateur-user-editable-spreadsheet | javascript, fetch-api, xlsx | 1,785,395,910 |
se_53939919 | stackoverflow | FRONTEND_DEVELOPMENT | What is the right way of production deployment of nestjs application | What is the right way of production deployment of nestjs application
I've developed simple nestjs rest services. Now I am planning to deploy my app. Please help me with efficient way of production deployment of nestjs app. | https://stackoverflow.com/questions/53939919/what-is-the-right-way-of-production-deployment-of-nestjs-application | javascript, node.js, typescript, deployment, nestjs | 1,545,886,548 |
se_79989064 | stackoverflow | FRONTEND_DEVELOPMENT | How can a single-page web app let whitelisted IPs bypass OIDC login? | How can a single-page web app let whitelisted IPs bypass OIDC login?
I'm creating a single-page web app, currently using oidc-client-ts and AWS Cognito for authentication, with static hosting e.g. by AWS CloudFront. (External users need to log in because OIDC tokens are needed for accessing backend APIs.) However inte... | https://stackoverflow.com/questions/79989064/how-can-a-single-page-web-app-let-whitelisted-ips-bypass-oidc-login | javascript, authentication, amazon-cognito, single-page-application, oidc-client-js | 1,785,387,779 |
se_45734554 | stackoverflow | FRONTEND_DEVELOPMENT | How to set specific timezone in datepicker using jquery only? | How to set specific timezone in datepicker using jquery only?
I have a field and apply datepicker on it using jQuery.
it is currently getting time from system/browser.
I want it to get time from a specific time zone e.g. America/new_york.
The endDate param is the key to setting the calendar, which means the user shoul... | https://stackoverflow.com/questions/45734554/how-to-set-specific-timezone-in-datepicker-using-jquery-only | javascript, jquery, date, datetime, datepicker | 1,502,971,156 |
se_34094905 | stackoverflow | FRONTEND_DEVELOPMENT | JavaScript: Comparing the current value to the previous value drawn from Json | JavaScript: Comparing the current value to the previous value drawn from Json
I was not sure how to write the question title or what is the correct way to ask for this question.
The goal is, I am currently drawing data from an external Json file that have about 700 or more data. What I want to do is, when looping th... | https://stackoverflow.com/questions/34094905/javascript-comparing-the-current-value-to-the-previous-value-drawn-from-json | javascript, json | 1,449,253,180 |
se_51095254 | stackoverflow | FRONTEND_DEVELOPMENT | Success message after form submission | Success message after form submission
I am having a form to get the user details.
Once form is submitted the page gets loaded. I want to display a success message after page loading.
<form name="myForm" class="contactus-template" method="post" onsubmit="return Formvalidation()">
</form>
function Formvalidation(){
... | https://stackoverflow.com/questions/51095254/success-message-after-form-submission | javascript, jquery, css, html | 1,530,252,414 |
se_68746581 | stackoverflow | FRONTEND_DEVELOPMENT | dming a user doesn't work anymore, discord.js | dming a user doesn't work anymore, discord.js
So i made a simple command for dming users that are in the same server as the bot time ago, and it always worked fine, but it is giving this error now for some reason:
throw new DiscordAPIError(data, res.status, request);
^
DiscordAPIError: Unknown User
... | https://stackoverflow.com/questions/68746581/dming-a-user-doesnt-work-anymore-discord-js | javascript, node.js, discord, discord.js | 1,628,703,259 |
se_79987709 | stackoverflow | FRONTEND_DEVELOPMENT | Can Google Analytics plugin in React / Capacitor accept boolean event parameters, or should they be converted to strings or numbers? | Can Google Analytics plugin in React / Capacitor accept boolean event parameters, or should they be converted to strings or numbers?
I am using a Google Analytics plugin in a React app wrapped with Capacitor.
I want to track custom events that include boolean states (for example, whether a specific feature was enabled... | https://stackoverflow.com/questions/79987709/can-google-analytics-plugin-in-react-capacitor-accept-boolean-event-parameters | best-practices, javascript, google-analytics, firebase-analytics, capacitor | 1,785,293,603 |
se_45243172 | stackoverflow | FRONTEND_DEVELOPMENT | Changing Color of Radial Gradient | Changing Color of Radial Gradient
How can I change the red circle created to green circle using JavaScript?
#redcircle {
background-image: radial-gradient(
circle,
red,
red 40px,
transparent 20px
);
} | https://stackoverflow.com/questions/45243172/changing-color-of-radial-gradient | javascript, html, css | 1,500,657,032 |
se_8040528 | stackoverflow | FRONTEND_DEVELOPMENT | Height of divs in one column depending on the height of divs in another column | Height of divs in one column depending on the height of divs in another column
Consider the following HTML:
<html>
<body>
<div id="leftColumn">
<div id="div1"></div>
<div id="div2"></div>
<div id="div3"></div>
<div id="div4"></div>
</div>
<div id="rightColumn">
<div id="div1sidebar"></div>
<div id="div2sid... | https://stackoverflow.com/questions/8040528/height-of-divs-in-one-column-depending-on-the-height-of-divs-in-another-column | javascript, html, jquery, css | 1,320,688,510 |
se_22823911 | stackoverflow | FRONTEND_DEVELOPMENT | Comparison: x == a is true, x == b is true, but a == b is false | Comparison: x == a is true, x == b is true, but a == b is false
I have the following Javascript code:
console.log("Line: 89");
console.log(products[i]['barcodes'][j]);
console.log(barcode);
console.log(barcode == products[i]['barcodes'][j]);
console.log(barcode == 888);
console.log(products[i]['barcodes'][j] == 888);
... | https://stackoverflow.com/questions/22823911/comparison-x-a-is-true-x-b-is-true-but-a-b-is-false | javascript, compare, equality | 1,396,475,830 |
se_14910760 | stackoverflow | FRONTEND_DEVELOPMENT | Why does my Switch case using strings return the wrong value? | Why does my Switch case using strings return the wrong value?
$(document).ready(function(){
createForm("text,password",".content");
});
function createForm(types,object){
typ = types.split(',');
//var source = "";
$.each(typ,function(){
switch(this) {
case "text":
... | https://stackoverflow.com/questions/14910760/why-does-my-switch-case-using-strings-return-the-wrong-value | javascript, jquery, switch-statement | 1,361,020,776 |
se_28972446 | stackoverflow | FRONTEND_DEVELOPMENT | Switch case in a JavaScript function | Switch case in a JavaScript function
I have a function that needs to pick out the color of a fruit and I have opted for a switch case statement. The problem is I'm not sure how to get the result out of the statement. Maybe I should get an if/else-statement instead?
Here is the code:
function fruitColor(fruit) {
sw... | https://stackoverflow.com/questions/28972446/switch-case-in-a-javascript-function | javascript, switch-statement | 1,426,015,682 |
se_57012082 | stackoverflow | FRONTEND_DEVELOPMENT | How to fix undefined variable for a string in a switch statement | How to fix undefined variable for a string in a switch statement
For some reason my function is not returning a 1 or 2 even though it's specifically setup to do so. What am I doing wrong? I'm looking at the chrome dev tools and it's telling me that var processed is undefined.
I'm quite stumped on this. I've been read... | https://stackoverflow.com/questions/57012082/how-to-fix-undefined-variable-for-a-string-in-a-switch-statement | javascript, switch-statement | 1,562,954,857 |
se_22964301 | stackoverflow | FRONTEND_DEVELOPMENT | asp.net bootstrap Keep current active tab after post-back event | asp.net bootstrap Keep current active tab after post-back event
I have the following asp.net aspx code
<asp:LinkButton CssClass="form-search" ID="LinkButtonSearch" runat="server">Search</asp:LinkButton>
<br />
<ul class="nav nav-tabs" id="myTab">
<li class="active"><a href="#home">Home</a></li>
<li><a href="#prof... | https://stackoverflow.com/questions/22964301/asp-net-bootstrap-keep-current-active-tab-after-post-back-event | javascript, jquery, asp.net, twitter-bootstrap, c#-4.0 | 1,397,050,618 |
se_79975005 | stackoverflow | FRONTEND_DEVELOPMENT | I get stuck learning HTML, CSS, and JavaScript (I am a student) | I get stuck learning HTML, CSS, and JavaScript (I am a student)
I’m currently learning HTML, CSS, and JavaScript through YouTube. After watching each lesson, I try to reinforce what I learned by deleting all the code from the tutorial and rewriting it manually from memory.
Is this an effective way to actually gain kno... | https://stackoverflow.com/questions/79975005/i-get-stuck-learning-html-css-and-javascript-i-am-a-student | javascript, html, css, best-practices | 1,783,337,034 |
se_25270372 | stackoverflow | FRONTEND_DEVELOPMENT | Webapp with MEAN stack and Java | Webapp with MEAN stack and Java
I've been a Java/J2EE developer for a few years now, and unfortunately lately I haven't been learning that much because of the context of my daily job and my company.
That's why I've decided to tackle my own personal project, which would have the following details/features (the first on... | https://stackoverflow.com/questions/25270372/webapp-with-mean-stack-and-java | advice, javascript, java, node.js, mean-stack | 1,407,864,131 |
se_76573456 | stackoverflow | FRONTEND_DEVELOPMENT | Is using `DOMContentLoaded` event listener the best approach here? | Is using `DOMContentLoaded` event listener the best approach here?
I have a NavBar class that creates a navigation bar and then a function within the class that adds a click event listener to each link.
Obviously I can't add the click event listener to the element until it has rendered in the DOM and I am currently us... | https://stackoverflow.com/questions/76573456/is-using-domcontentloaded-event-listener-the-best-approach-here | best-practices, javascript | 1,687,957,353 |
se_32751428 | stackoverflow | FRONTEND_DEVELOPMENT | How to write a file path that will point to a directory? | How to write a file path that will point to a directory?
How to write a file path that will point to a directory.
From what I have googled,
/path means root,
./path means current directory,
../path means parent directory
I am playing with Framer.js + Yeoman.
If you look at the screenshot attached:
myLayers = ... | https://stackoverflow.com/questions/32751428/how-to-write-a-file-path-that-will-point-to-a-directory | javascript, path, relative-path, framerjs | 1,443,053,659 |
se_61145263 | stackoverflow | FRONTEND_DEVELOPMENT | How to pass json encoded results from controller to javascript variable | How to pass json encoded results from controller to javascript variable
I want to pass json encoded array results from codeigniter controller to javascript variables in view
$.ajax
({
type:'post',
url: "<?php echo base_url(); ?>" +"",
data:{
d_name:d_name,
d_password:d_password,
dataType:"json",
},
... | https://stackoverflow.com/questions/61145263/how-to-pass-json-encoded-results-from-controller-to-javascript-variable | javascript, php, ajax, codeigniter, codeigniter-3 | 1,586,538,886 |
se_66361954 | stackoverflow | FRONTEND_DEVELOPMENT | Chrome is blocking third party cookies; asking me to set Same Site attribute = None and Secure, but does not specify how or where? | Chrome is blocking third party cookies; asking me to set Same Site attribute = None and Secure, but does not specify how or where?
This is the message I am getting using a Leaflet.js heatmap, and I can't see my circle markers, and I believe this is most likely the issue.
Because a cookie’s SameSite attribute was not ... | https://stackoverflow.com/questions/66361954/chrome-is-blocking-third-party-cookies-asking-me-to-set-same-site-attribute-n | javascript, google-chrome, cookies, leaflet | 1,614,223,509 |
se_79986347 | stackoverflow | FRONTEND_DEVELOPMENT | Firebase intermittent data fetch failure: WebChannelConnection RPC 'Listen' stream transport errored | Firebase intermittent data fetch failure: WebChannelConnection RPC 'Listen' stream transport errored
I've been encountering an issue with Firestore while trying to retrieve data from my Firestore database using the Firebase web SDK. I've gone through my code, Firestore security rules, and CORS settings, but I'... | https://stackoverflow.com/questions/79986347/firebase-intermittent-data-fetch-failure-webchannelconnection-rpc-listen-stre | javascript, firebase, google-cloud-platform, google-cloud-firestore | 1,785,164,801 |
se_76730337 | stackoverflow | FRONTEND_DEVELOPMENT | Is there a way to Tailwind styles from spilling over into other applications? (Isolating tailwind styles to component library) | Is there a way to Tailwind styles from spilling over into other applications? (Isolating tailwind styles to component library)
I'm trying to build a React library using Tailwind for styling for the library, one of the issues I'm coming across is that the tailwind styles "spill over" into the applications that implemen... | https://stackoverflow.com/questions/76730337/is-there-a-way-to-tailwind-styles-from-spilling-over-into-other-applications-i | javascript, css, reactjs, tailwind-css | 1,689,859,184 |
se_55342343 | stackoverflow | FRONTEND_DEVELOPMENT | How to create a bootstrap-table dynamically? | How to create a bootstrap-table dynamically?
I'm having trouble developing a bootstrap-table by clicking a button. My goal is to add a sort feature for each columns on a table. So for my user case, when a user clicks on the button, it calls an ajax to grab a data from Database and sends back a result (it works so no w... | https://stackoverflow.com/questions/55342343/how-to-create-a-bootstrap-table-dynamically | javascript, jquery, html, pagination, bootstrap-table | 1,553,531,248 |
se_68912768 | stackoverflow | FRONTEND_DEVELOPMENT | Feature Unavailable: facebook login is currently unavailable for this app since we are updating additional details for this app. Please Try again | Feature Unavailable: facebook login is currently unavailable for this app since we are updating additional details for this app. Please Try again
I am working in React Native. I am trying to login with a Facebook account, but I get this error from Facebook:
Facebook Login is currently unavailable for this app, since w... | https://stackoverflow.com/questions/68912768/feature-unavailable-facebook-login-is-currently-unavailable-for-this-app-since | javascript, reactjs, firebase, react-native, facebook | 1,629,831,604 |
se_46543132 | stackoverflow | FRONTEND_DEVELOPMENT | How to implement dropdown menu in React JS using Material UI? | How to implement dropdown menu in React JS using Material UI?
I have a dropdown which has a nested menu as shown below.
The dropdown upon expanding shows two options:
The problem is upon clicking any of the items the children options under Tenant Name or Dealer ID display for a second and disappear.
How to solve... | https://stackoverflow.com/questions/46543132/how-to-implement-dropdown-menu-in-react-js-using-material-ui | javascript, reactjs, drop-down-menu, material-ui | 1,507,028,812 |
se_45613816 | stackoverflow | FRONTEND_DEVELOPMENT | Encircle a table div without changing the size of the cell | Encircle a table div without changing the size of the cell
I developed a diagram in a HTML table, the TD have fixed dimension and i want to highlight this div with something like border or circle but if i simply use the border : ... of CSS it deformed the div.
I can't use the background-color because it is already u... | https://stackoverflow.com/questions/45613816/encircle-a-table-div-without-changing-the-size-of-the-cell | javascript, html, css | 1,502,368,269 |
se_19563195 | stackoverflow | FRONTEND_DEVELOPMENT | Make specific CSS for IE10 | Make specific CSS for IE10
I bind some type for my site:
@font-face {
font-family:WILLS;
src:url(WILLS.TTF);
}
In most browsers this types recognize perfectly but IE don't see this type because of ttf extensions. But the problem is that IE10+ aren't supporting this condition.
<!--[if IE]>...<![endif]-->
Is there any ... | https://stackoverflow.com/questions/19563195/make-specific-css-for-ie10 | javascript, html, css, internet-explorer | 1,382,609,977 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.