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_78151241
stackoverflow
ARTIFICIAL_INTELLIGENCE
Named Entity Recognition on Search Engine Queries with Python
Named Entity Recognition on Search Engine Queries with Python I'm trying to do Named Entity Recognition on search engine queries with Python. The big thing about search engine queries are that they are usually incomplete or all lowercase. For this task, I've been recommended Spacy, NLTK, Stanford NLP, Flair, Transform...
https://stackoverflow.com/questions/78151241/named-entity-recognition-on-search-engine-queries-with-python
python, nlp, search-engine, named-entity-recognition
1,710,303,796
se_78157864
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to optimize the function which uses looping on lists on pandas dataframe?
How to optimize the function which uses looping on lists on pandas dataframe? I am using a function on a pandas dataframe as : import spacy from collections import Counter # Load English language model nlp = spacy.load("en_core_web_sm") # Function to filter out only nouns from a list of words def filter_nouns(words...
https://stackoverflow.com/questions/78157864/how-to-optimize-the-function-which-uses-looping-on-lists-on-pandas-dataframe
python, python-3.x, pandas, list, nlp
1,710,384,992
se_78154585
stackoverflow
ARTIFICIAL_INTELLIGENCE
Text Generation consistently results in blank characters
Text Generation consistently results in blank characters The following code is showing a very normal loss chart after 20 epochs, but when trying to test it with a seed text it consistently outputs blank lines (' '). Its either that I simply do not understand the process of "text seed" preparation or processing the pre...
https://stackoverflow.com/questions/78154585/text-generation-consistently-results-in-blank-characters
nlp, text-generation
1,710,340,382
se_78094016
stackoverflow
ARTIFICIAL_INTELLIGENCE
Using MBart50TokenizerFast tokenizer with multiple sentences
Using MBart50TokenizerFast tokenizer with multiple sentences I am trying to use MBart50TokenizerFast with facebook/mbart-large-50-many-to-one-mmt on GPU, and trying to provide multiple sentences in one go (the sentences cannot be combined). Here is my code (based on https://stackoverflow.com/a/62688252/194742): tokeni...
https://stackoverflow.com/questions/78094016/using-mbart50tokenizerfast-tokenizer-with-multiple-sentences
nlp, huggingface-transformers, huggingface-tokenizers, machine-translation
1,709,406,792
se_78155767
stackoverflow
ARTIFICIAL_INTELLIGENCE
Error training transformer with QLoRA and Peft
Error training transformer with QLoRA and Peft So I am trying to finetuning google Gemma model using Peft and QLoRA. Yesterday I successfully fine-tuned it for 1 epoch just as a test. However, when I opened the notebook today and ran the cell that loads the model I get a huge error: The code: model_id = "google/gemma-...
https://stackoverflow.com/questions/78155767/error-training-transformer-with-qlora-and-peft
python, deep-learning, nlp, huggingface-transformers
1,710,350,995
se_77248165
stackoverflow
ARTIFICIAL_INTELLIGENCE
What does the vocabulary of a pre-trained / fine-tuned T5 model look like?
What does the vocabulary of a pre-trained / fine-tuned T5 model look like? My question is regarding the pre-trained T5 models found on Huggingface. In either case of taking the fully-trained model, or after fine-tuning it, is there an API function for directly downloading the vocabulary? More specifically, the default...
https://stackoverflow.com/questions/77248165/what-does-the-vocabulary-of-a-pre-trained-fine-tuned-t5-model-look-like
python, pytorch, nlp, huggingface-transformers
1,696,646,103
se_69041750
stackoverflow
ARTIFICIAL_INTELLIGENCE
Extracting difficult words from text
Extracting difficult words from text I need to identify difficult words from input text. I do not want to use common word lists because the level of difficulty will need to be set for children. Is there a scoring mechanism that computes the difficulty level of each word? I can use a threshold for score to separate dif...
https://stackoverflow.com/questions/69041750/extracting-difficult-words-from-text
nlp
1,630,657,496
se_33226965
stackoverflow
ARTIFICIAL_INTELLIGENCE
Extracting sentences from a text document
Extracting sentences from a text document I have a text document from which I'd like to extract the Noun phrases. In the first step I extract sentences and then I do a part of speech (pos) tagging for each sentence and then using the pos I do a chunking. I used StanfordNLP for these task, and this is the code for extr...
https://stackoverflow.com/questions/33226965/extracting-sentences-from-a-text-document
nlp, stanford-nlp, part-of-speech
1,445,307,886
se_78150864
stackoverflow
ARTIFICIAL_INTELLIGENCE
Export displacy graphics as an image file shows an empty file
Export displacy graphics as an image file shows an empty file I want to export displacy graphics as an image file. I run the following code block in Jupyter Notebook and generate an svg file name sample.svg. The code block is import spacy from spacy import displacy from pathlib import Path nlp = spacy.load('en_core_w...
https://stackoverflow.com/questions/78150864/export-displacy-graphics-as-an-image-file-shows-an-empty-file
python, jupyter-notebook, nlp, spacy, displacy
1,710,294,685
se_78139855
stackoverflow
ARTIFICIAL_INTELLIGENCE
Why do I get different embeddings when I perform batch encoding in huggingface MT5 model?
Why do I get different embeddings when I perform batch encoding in huggingface MT5 model? I am trying to encode some text using HuggingFace's mt5-base model. I am using the model as shown below from transformers import MT5EncoderModel, AutoTokenizer model = MT5EncoderModel.from_pretrained("google/mt5-base") tokenizer...
https://stackoverflow.com/questions/78139855/why-do-i-get-different-embeddings-when-i-perform-batch-encoding-in-huggingface-m
python, machine-learning, pytorch, nlp, huggingface-transformers
1,710,152,093
se_77385354
stackoverflow
ARTIFICIAL_INTELLIGENCE
Remove everything from text except Hindi and English letters and numbers and punctuation
Remove everything from text except Hindi and English letters and numbers and punctuation I have a text which is mixed in English and Hindi and I want to remove all the characters except Hindi and English characters and numbers and punctuation. That way, I can get rid of "(", ")","@", etc. Please consider the text belo...
https://stackoverflow.com/questions/77385354/remove-everything-from-text-except-hindi-and-english-letters-and-numbers-and-pun
python, nlp, hindi
1,698,616,967
se_78136056
stackoverflow
ARTIFICIAL_INTELLIGENCE
Torchtext functions in Newest version analogue
Torchtext functions in Newest version analogue Good day all, i'm trying to solve task, where it was used previously torchtext.dataset.TranslationDataset, torch.data.Field and torch.data.BucketIterator. But, after updating they were removed and i don't know how it can be used now. Has anybody faced with this problem, h...
https://stackoverflow.com/questions/78136056/torchtext-functions-in-newest-version-analogue
nlp, version, torchtext
1,710,077,818
se_4578658
stackoverflow
ARTIFICIAL_INTELLIGENCE
Where can I find Twitter messages archive or search old tweets?
Where can I find Twitter messages archive or search old tweets? Previously Google launched an application that can search Twitter message OVER Time like in news timeline. But it seems it now can only provide real time (current) message index, not the old and all tweets in history. I want to do research on tweets, but ...
https://stackoverflow.com/questions/4578658/where-can-i-find-twitter-messages-archive-or-search-old-tweets
web-services, twitter, nlp
1,293,976,478
se_78146247
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to use NTLK (and spacy) to handle sentiment analysis on two topics within one sentence
How to use NTLK (and spacy) to handle sentiment analysis on two topics within one sentence I am new to Python but slowly using available resources to make good progress from a coding perspective. However, I can't find help for a specific use case that I am trying to solve. I have survey comments that I want to analyze...
https://stackoverflow.com/questions/78146247/how-to-use-ntlk-and-spacy-to-handle-sentiment-analysis-on-two-topics-within-on
python, python-3.x, nlp, spacy
1,710,238,471
se_78139910
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to identify feature names from indices in a decision tree using scikit-learn’s CountVectorizer?
How to identify feature names from indices in a decision tree using scikit-learn’s CountVectorizer? I have the following data for training a model to detect whether a sentence is about: a cat or dog NOT about a cat or dog I ran the following code to train a DecisionTreeClassifier() model then view the tree visualis...
https://stackoverflow.com/questions/78139910/how-to-identify-feature-names-from-indices-in-a-decision-tree-using-scikit-learn
python, scikit-learn, nlp, decision-tree, countvectorizer
1,710,152,652
se_60997438
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to revert BERT/XLNet embeddings?
How to revert BERT/XLNet embeddings? I've been experimenting with stacking language models recently and noticed something interesting: the output embeddings of BERT and XLNet are not the same as the input embeddings. For example, this code snippet: bert = transformers.BertForMaskedLM.from_pretrained("bert-base-cased"...
https://stackoverflow.com/questions/60997438/how-to-revert-bert-xlnet-embeddings
python, nlp, pytorch, huggingface-transformers, transformer-model
1,585,848,223
se_76551067
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to create a langchain doc from an str?
How to create a langchain doc from an str? I've searched all over langchain documentation on their official website but I didn't find how to create a langchain doc from a str variable in python so I searched in their GitHub code and I found this : doc=Document( page_content="text", me...
https://stackoverflow.com/questions/76551067/how-to-create-a-langchain-doc-from-an-str
python, nlp, langchain, large-language-model
1,687,705,782
se_48962171
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to Train GloVe algorithm on my own corpus
How to Train GloVe algorithm on my own corpus I tried to follow this. But some how I wasted a lot of time ending up with nothing useful. I just want to train a GloVe model on my own corpus (~900Mb corpus.txt file). I downloaded the files provided in the link above and compiled it using cygwin (after editing the demo.s...
https://stackoverflow.com/questions/48962171/how-to-train-glove-algorithm-on-my-own-corpus
nlp, stanford-nlp, gensim, word2vec, glove
1,519,470,657
se_70555307
stackoverflow
ARTIFICIAL_INTELLIGENCE
find words out of vocabulary
find words out of vocabulary I have some texts in a pandas dataframe df['mytext'] I have also got a vocabulary vocab (list of words). I am trying to list and count the words out of vocabulary for each document I have tried the following but it is quite slow for 10k documents. How to quickly and efficiently quantify th...
https://stackoverflow.com/questions/70555307/find-words-out-of-vocabulary
python, pandas, nlp, vocabulary, oov
1,641,120,154
se_65696968
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to i get word embeddings for out of vocabulary words using a transformer model?
How to i get word embeddings for out of vocabulary words using a transformer model? When i tried to get word embeddings of a sentence using bio_clinical bert, for a sentence of 8 words i am getting 11 token ids(+start and end) because "embeddings" is an out of vocabulary word/token, that is being split into em, bed ,d...
https://stackoverflow.com/questions/65696968/how-to-i-get-word-embeddings-for-out-of-vocabulary-words-using-a-transformer-mod
nlp, huggingface-transformers, transformer-model, huggingface-tokenizers, oov
1,610,520,684
se_49488627
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to embed out of vocab words at the time of testing in word2vec model?
How to embed out of vocab words at the time of testing in word2vec model? I was training my word2vec model (skip-gram) on a vocab size of 100 000. But at the time of testing I got few words which weren't in the vocab. To find their embeddings I tried 2 approaches: Calculate minimum edit distance word from vocab and...
https://stackoverflow.com/questions/49488627/how-to-embed-out-of-vocab-words-at-the-time-of-testing-in-word2vec-model
nlp, word2vec, word-embedding, oov
1,522,058,108
se_58567497
stackoverflow
ARTIFICIAL_INTELLIGENCE
What's the point to have a UNK token for out of vocabulary words during decoding?
What's the point to have a UNK token for out of vocabulary words during decoding? First of all, I know this question is kind of off-topic, but I have already tried to ask elsewhere but got no response. Adding a UNK token to the vocabulary is a conventional way to handle oov words in tasks of NLP. It is totally un...
https://stackoverflow.com/questions/58567497/whats-the-point-to-have-a-unk-token-for-out-of-vocabulary-words-during-decoding
deep-learning, nlp, neural-network, machine-translation, oov
1,572,055,673
se_78142224
stackoverflow
ARTIFICIAL_INTELLIGENCE
Finetuing BERT with masking and having multiple correct labels
Finetuing BERT with masking and having multiple correct labels I aim to fine-tune a BERT model for a specific task involving simple arithmetic operations like "5 + 3 = 8" or "7 plus 2 equals 9". My dataset comprises thousands of examples where one operand, operator, or result is masked. For instance: Masked: "1 added...
https://stackoverflow.com/questions/78142224/finetuing-bert-with-masking-and-having-multiple-correct-labels
python, nlp, huggingface-transformers, bert-language-model
1,710,175,392
se_79995446
stackoverflow
FRONTEND_DEVELOPMENT
How to repeat-print a string with a number in it that increases with each repeat-print, everything inside a .replace constraint
How to repeat-print a string with a number in it that increases with each repeat-print, everything inside a .replace constraint I want to apply the code in this precise context: 'h1 h2 h3 h4 words words words words' .replace(/abc/, '') .replace(/[^]+/, _ => { const NUM = Math.max.apply( Math, (_.match(/h([1234])/g)....
https://stackoverflow.com/questions/79995446/how-to-repeat-print-a-string-with-a-number-in-it-that-increases-with-each-repeat
javascript, arrays
1,786,832,426
se_79995465
stackoverflow
FRONTEND_DEVELOPMENT
I'm getting the error The asset "./components/index.jsx.js" is not present in the asset pipeline
I&#39;m getting the error The asset &quot;./components/index.jsx.js&quot; is not present in the asset pipeline I'm getting the error The asset "./components/index.jsx.js" is not present in the asset pipeline. Error is triggered by this javascript_include_tag: <%= javascript_include_tag 'components/index.jsx' %> The f...
https://stackoverflow.com/questions/79995465/im-getting-the-error-the-asset-components-index-jsx-js-is-not-present-in-th
javascript, reactjs, ruby-on-rails
1,786,840,533
se_79990737
stackoverflow
FRONTEND_DEVELOPMENT
How to build a `RW-group mutual exclusion lock` using Atomics
How to build a `RW-group mutual exclusion lock` using Atomics I will refer to the main-thread as main. i32a = Int32Array<SharedArrayBuffer> My system includes a SharedArrayBuffer (SAB) created on main, sent over to multiple workers once using worker.postMessage({...data, sab: i32a.buffer}). These workers perform a bun...
https://stackoverflow.com/questions/79990737/how-to-build-a-rw-group-mutual-exclusion-lock-using-atomics
best-practices, javascript, multithreading, atomic, sharedarraybuffer
1,785,940,095
se_53065293
stackoverflow
FRONTEND_DEVELOPMENT
How to make image move in a frame infinitely?
How to make image move in a frame infinitely? I have this right here: .object { animation: MoveLeftRight 10s linear infinite; position: absolute; top: 0; right: 0; } @keyframes MoveLeftRight { 0%, 100% { right: 0; } 50% { right: 300px; } } <div class="object"> <img src="https://www.dir...
https://stackoverflow.com/questions/53065293/how-to-make-image-move-in-a-frame-infinitely
javascript, html, css
1,540,905,790
se_79995431
stackoverflow
FRONTEND_DEVELOPMENT
How to programmatically create a file and write content using VS Code Extension API in TypeScript?
How to programmatically create a file and write content using VS Code Extension API in TypeScript? I am building a VS Code extension that automatically generates workspace files. I want to create a new file at a specific path inside the user's open workspace and insert generated text content into it. I tried using Nod...
https://stackoverflow.com/questions/79995431/how-to-programmatically-create-a-file-and-write-content-using-vs-code-extension
javascript, typescript, vscode-extensions
1,786,827,383
se_60621829
stackoverflow
FRONTEND_DEVELOPMENT
How to read the zip file contents in react application using jszip preferably
How to read the zip file contents in react application using jszip preferably I have a requirement to read the zip file contents , This is how the zip folder will look like Manifest.zip , The files in the Manifest.zip are outline.png, publish.png, manifest.json. I need to read the manifest.json(key value pairs) on the...
https://stackoverflow.com/questions/60621829/how-to-read-the-zip-file-contents-in-react-application-using-jszip-preferably
javascript, reactjs, zip, blob, jszip
1,583,857,360
se_60402959
stackoverflow
FRONTEND_DEVELOPMENT
Switch without break in Javascript
Switch without break in Javascript drink = 'beer' switch(drink){ case 'beer': case 'whiskey': console.log('The drink is BEER or WHISKEY'); case 'juice': console.log('The drink is JUICE'); default: console.log('Nothing to drink'); } For my code above, why do I get all thre...
https://stackoverflow.com/questions/60402959/switch-without-break-in-javascript
javascript, switch-statement
1,582,663,968
se_52236330
stackoverflow
FRONTEND_DEVELOPMENT
Hide a div element on button click and replace it with another div without using jQuery
Hide a div element on button click and replace it with another div without using jQuery This is my HTML code. on page load it displays two tab buttons and images under it. On a button click over any tab the images should disappear and the tab content should load. But it is not loading the required div content, simply ...
https://stackoverflow.com/questions/52236330/hide-a-div-element-on-button-click-and-replace-it-with-another-div-without-using
javascript, html, css
1,536,417,551
se_20549241
stackoverflow
FRONTEND_DEVELOPMENT
how to reset &lt;input type = &quot;file&quot;&gt; in Angular
how to reset &lt;input type = &quot;file&quot;&gt; in Angular I am developing a metro app with VS2012 and Javascript I want to reset the contents of my file input: <input type="file" id="uploadCaptureInputFile" class="win-content colors" accept="image/*" /> How should I do that?
https://stackoverflow.com/questions/20549241/how-to-reset-input-type-file-in-angular
javascript, angular
1,386,866,783
se_28350495
stackoverflow
FRONTEND_DEVELOPMENT
Can I build a solid website without using JavaScript?
Can I build a solid website without using JavaScript? I'm just starting to learn web development and I've been wondering If I can build solid websites using only HTML, CSS and maybe some PHP. I don't want anything complicated I wanna start simple just to get used to those languages before starting to learn JS because ...
https://stackoverflow.com/questions/28350495/can-i-build-a-solid-website-without-using-javascript
javascript, html, css, build
1,423,157,829
se_52575198
stackoverflow
FRONTEND_DEVELOPMENT
How do I remove these whitespaces of my site?
How do I remove these whitespaces of my site? I am making a shop for my server, the shop lets me edit only the CSS, which I am doing, but in the shop there is a giant white space to the right, top and bottom of the screen. I tried looking for CSS solutions, none of them worked. How do I fix this? WEBSITE: http://purge...
https://stackoverflow.com/questions/52575198/how-do-i-remove-these-whitespaces-of-my-site
javascript, html, css
1,538,288,427
se_52533546
stackoverflow
FRONTEND_DEVELOPMENT
Add overlay image on li
Add overlay image on li Problem: I am trying to make an overlay appear when a list item is hovered upon. I am new to html and I am trying to get a division overlay on a list item hover. However the overlay appears in the full width of the screen when I want it only on the list item as class header which is in gray col...
https://stackoverflow.com/questions/52533546/add-overlay-image-on-li
javascript, html, css
1,538,039,832
se_52246935
stackoverflow
FRONTEND_DEVELOPMENT
Clicking a Button fast bugs JavaScript
Clicking a Button fast bugs JavaScript var Buttons = new Array(); var AnimEnd = new Array(); var Called = new Array(); function Start () { Buttons = document.getElementsByClassName("google_button-main"); for (var i = 0; i < Buttons.length; i++) { Buttons[i].onmousedown = (e) => { var ...
https://stackoverflow.com/questions/52246935/clicking-a-button-fast-bugs-javascript
javascript, html, css
1,536,513,703
se_54629154
stackoverflow
FRONTEND_DEVELOPMENT
Improvements in Algo/code for following HackerRank problem
Improvements in Algo/code for following HackerRank problem I'm aware, SO is not a place for homework and hence, being very specific to the scope of question. I was trying to solve this problem on HackerRank: Array Manipulation - Crush. The problem statement is quite simple and I implemented following code: functio...
https://stackoverflow.com/questions/54629154/improvements-in-algo-code-for-following-hackerrank-problem
javascript, algorithm
1,549,883,093
se_79995376
stackoverflow
FRONTEND_DEVELOPMENT
GSAP ScrollTrigger pinned section causes scroll position jump when opening Base UI modal dialog with Lenis smooth scrolling
GSAP ScrollTrigger pinned section causes scroll position jump when opening Base UI modal dialog with Lenis smooth scrolling I am building a web application using Next.js (App Router, React 19), GSAP (ScrollTrigger), and Lenis for smooth scrolling. My page has multiple sections, including a pinned story section (#story...
https://stackoverflow.com/questions/79995376/gsap-scrolltrigger-pinned-section-causes-scroll-position-jump-when-opening-base
javascript, reactjs, gsap, scrolltrigger, lenis
1,786,805,919
se_39958419
stackoverflow
FRONTEND_DEVELOPMENT
Froala WYISWYG editor not showing the toolbar
Froala WYISWYG editor not showing the toolbar <script> $(function () { $('textarea#froala-editor').froalaEditor({ toolbarInline: false, toolbarButtons: [ 'bold', 'italic', 'underline', 'strikeThrough', 'subscript', 'superscript', '-', 'paragraphFormat', 'align', 'formatOL', 'formatU...
https://stackoverflow.com/questions/39958419/froala-wyiswyg-editor-not-showing-the-toolbar
javascript, jquery, html, froala
1,476,102,856
se_52205038
stackoverflow
FRONTEND_DEVELOPMENT
CSS/ cut an img&#39;s width when reducing the screen/window width
CSS/ cut an img&#39;s width when reducing the screen/window width I wanted to have an Image on 100% width, with a max-height. When scaling the window and you're reaching the max-height, the width should still be at a 100% but "cropping" the image bigger (provided image size is fitting). This means you can see more of ...
https://stackoverflow.com/questions/52205038/css-cut-an-imgs-width-when-reducing-the-screen-window-width
javascript, html, css
1,536,239,917
se_79995236
stackoverflow
FRONTEND_DEVELOPMENT
How to fix image importation problem in PhaserJs
How to fix image importation problem in PhaserJs So i have started a new game in phaser js, and i want to upload some images stored in my tablet. (I don’t have a pc)But when i import, it shows a weird little green cube on the display, and i verified countless times my program to see if something is wrong, but i did no...
https://stackoverflow.com/questions/79995236/how-to-fix-image-importation-problem-in-phaserjs
javascript, import, game-development, phaser-framework
1,786,750,719
se_25350456
stackoverflow
FRONTEND_DEVELOPMENT
All 3 ways of moving to new page on click of button in the ionic navbar dont work
All 3 ways of moving to new page on click of button in the ionic navbar dont work Ideally, all 3 methods ought to work. This codepen below shows all 3 methods well. Correct and working CodePen Demo app Currently, neither of the 3 methods work; the navbar just dissappears upon clicking the button (shows empty nav b...
https://stackoverflow.com/questions/25350456/all-3-ways-of-moving-to-new-page-on-click-of-button-in-the-ionic-navbar-dont-wor
javascript, angularjs, ionic-framework
1,408,288,073
se_52055434
stackoverflow
FRONTEND_DEVELOPMENT
How to wrap the XML data in table of a HTML?
How to wrap the XML data in table of a HTML? I have an HTML template where I need to display XML with tags inside th of a table. I tried the table-layout:fixed;word-wrap:break-word;width:100% for table tag, but it was dividing the table equally and text in th were not coming to new line as shown in below image. sample...
https://stackoverflow.com/questions/52055434/how-to-wrap-the-xml-data-in-table-of-a-html
javascript, html, css
1,535,451,354
se_51968667
stackoverflow
FRONTEND_DEVELOPMENT
Simple Basketball Motion JavaScript
Simple Basketball Motion JavaScript What happens: When I press space button the ball moves up and stops; when press again the ball moves down. What I need: When I press space button the ball should move up then move down! I want to some how repeat this function twice with one click ... Its looks simple; I tried to l...
https://stackoverflow.com/questions/51968667/simple-basketball-motion-javascript
javascript, html, css
1,534,946,631
se_51848511
stackoverflow
FRONTEND_DEVELOPMENT
JavaScript to draw particles on cursor position sends the particles to the bottom
JavaScript to draw particles on cursor position sends the particles to the bottom I'm trying to use a JavaScript I downloaded from https://github.com/tholman/90s-cursor-effects It creates a bubble particles effects on the position of the cursor, but when I add some <section> or <div> elements inside my <body> tag, all...
https://stackoverflow.com/questions/51848511/javascript-to-draw-particles-on-cursor-position-sends-the-particles-to-the-botto
javascript, html, css
1,534,274,774
se_51734719
stackoverflow
FRONTEND_DEVELOPMENT
How do I make a page stick to screen when scrolling in and out?
How do I make a page stick to screen when scrolling in and out? The title sounds really stupid, and its hard to explain with such small characters, so here we go. I want the whole website to resize its self once the user zooms out or just has a smaller screen resolution. Its hard to explain, but you can check an examp...
https://stackoverflow.com/questions/51734719/how-do-i-make-a-page-stick-to-screen-when-scrolling-in-and-out
javascript, html, css
1,533,672,858
se_51666269
stackoverflow
FRONTEND_DEVELOPMENT
How to set zoom default level in Google Maps
How to set zoom default level in Google Maps Found this free web site online that I want to customize but I can't change the default zoom level as I don't know JavaScript. I would like to know what lines of code I need to add in order to change the zoom level. I also don't know if I have to include other code/info her...
https://stackoverflow.com/questions/51666269/how-to-set-zoom-default-level-in-google-maps
javascript, html, css, google-maps
1,533,276,577
se_51467734
stackoverflow
FRONTEND_DEVELOPMENT
Paint JS changing color onclick
Paint JS changing color onclick I'm trying to make Paint in JS here's the code. I want to change color of the trail from black to red by clicking on div "red" for example,and I'm out of ideas (without jQuery). let active = false; const draw = function(e) { if (active == false) { return; } const x...
https://stackoverflow.com/questions/51467734/paint-js-changing-color-onclick
javascript, html, css
1,532,281,398
se_51414959
stackoverflow
FRONTEND_DEVELOPMENT
Uploading/viewing image in web site not working
Uploading/viewing image in web site not working I am creating a web page where a user can upload an image and show it in the image container immediately. When I am running the file offline that is in my own computer then it is running fine, but when I am uploading it to the server it is not running. In this web page...
https://stackoverflow.com/questions/51414959/uploading-viewing-image-in-web-site-not-working
javascript, html, css
1,531,978,109
se_79995007
stackoverflow
FRONTEND_DEVELOPMENT
How can I validate a multi-step Passport form with different required fields based on the application type?
How can I validate a multi-step Passport form with different required fields based on the application type? I’m building a multi-step passport appointment at https://dfapassportappointmentt.com/ form with JavaScript. The form has different required fields depending on the application type selected by the user. For exa...
https://stackoverflow.com/questions/79995007/how-can-i-validate-a-multi-step-passport-form-with-different-required-fields-bas
javascript, dom, conditional-statements
1,786,689,181
se_79995268
stackoverflow
FRONTEND_DEVELOPMENT
Content block builder
Content block builder I have a question about the way how to organise the storing data for the pages across multiple different Server-Side Rendering (SSR) environments. I just want to have a single format of data and interface for it for content editors(stuff). For example, I have legacy products/projects with a lot ...
https://stackoverflow.com/questions/79995268/content-block-builder
best-practices, javascript, html, templates
1,786,765,444
se_22020567
stackoverflow
FRONTEND_DEVELOPMENT
Creating live search with AJAX and CodeIgniter
Creating live search with AJAX and CodeIgniter I'm trying to create a live search feature in CI (which I've never done before). I'm pretty new to web development and am still learning things. I found this little tutorial on how to do it http://www.blog.orionwebtech.net/codeigniter-jquery-ajax-live-search/?codekitCB=41...
https://stackoverflow.com/questions/22020567/creating-live-search-with-ajax-and-codeigniter
javascript, php, jquery, ajax, codeigniter
1,393,346,466
se_79995042
stackoverflow
FRONTEND_DEVELOPMENT
How can I customize keyboard behaviour in HTML select menus?
How can I customize keyboard behaviour in HTML select menus? Is there an API that lets me decide how selecting via keyboard works in an HTML menu, or a way to hint about localization to the user agent? The desired behaviour is often locale-dependent: for instance, in Swedish, A and Ä are different letters, so pressing...
https://stackoverflow.com/questions/79995042/how-can-i-customize-keyboard-behaviour-in-html-select-menus
tooling-recommendation, javascript, html, drop-down-menu
1,786,699,152
se_45702518
stackoverflow
FRONTEND_DEVELOPMENT
React hidden navigation menu
React hidden navigation menu I am working with ReactJS at the moment (I am very much a beginner). What I wanting to do is show/hide a menu component when a link is clicked in the site navigation. The menu is being built as a component that sits within a component (header). The user clicks the menu button and that th...
https://stackoverflow.com/questions/45702518/react-hidden-navigation-menu
javascript, reactjs
1,502,836,214
se_62171089
stackoverflow
FRONTEND_DEVELOPMENT
Show image when option is selected
Show image when option is selected I would like to make a select that when you click an option, an image will show next to the form. Nothing from this needs to be sent to the database, it's just for looks. I’ve tried searching online but I am only able to find images in the select options, which is not what I’m looki...
https://stackoverflow.com/questions/62171089/show-image-when-option-is-selected
javascript, image, select
1,591,181,559
se_57335046
stackoverflow
FRONTEND_DEVELOPMENT
Discord.js how to add role to a specific user ID?
Discord.js how to add role to a specific user ID? I'm trying to create a bot for my friends and I only so I hardcoded our discord ID's. Now I'm trying to make the bot assign us roles using our IDs. Here's what I have so far and it's giving me an error. bot.on('ready', () => { const guild = bot.guilds.get("OUR SERV...
https://stackoverflow.com/questions/57335046/discord-js-how-to-add-role-to-a-specific-user-id
javascript, node.js, discord, discord.js
1,564,799,261
se_79993707
stackoverflow
FRONTEND_DEVELOPMENT
Playwright tests are no longer detected after updating VS Code / Playwright
Playwright tests are no longer detected after updating VS Code / Playwright I have an existing Playwright project with multiple .spec.ts test files that was working correctly before a recent software update. After updating my development environment, Playwright no longer detects my tests in VS Code. My current Playwri...
https://stackoverflow.com/questions/79993707/playwright-tests-are-no-longer-detected-after-updating-vs-code-playwright
javascript, visual-studio-code, playwright
1,786,603,213
se_79995220
stackoverflow
FRONTEND_DEVELOPMENT
Full Calendar JS does not detect styles
Full Calendar JS does not detect styles I have a Blazor application (using Interactive Server render mode) and I am trying to implement Full Calendar library adding the CDN documentation recommends, the calendar is shown, however when I add the header tool bar option in the creation of the calendar, the buttons appear...
https://stackoverflow.com/questions/79995220/full-calendar-js-does-not-detect-styles
javascript, css, blazor, fullcalendar, fullcalendar-7
1,786,744,927
se_79995134
stackoverflow
FRONTEND_DEVELOPMENT
How to handle invalid date in Flatpickr
How to handle invalid date in Flatpickr When allowing manual input editing in flatpickr, it is easy to accidentally enter an invalid date. What is the correct way to handle it? I included a parser in my initialisation as follows let fp = flatpickr(id, { altInput: true , dateFormat: 'Y-m-d' , altFormat:...
https://stackoverflow.com/questions/79995134/how-to-handle-invalid-date-in-flatpickr
javascript, flatpickr
1,786,722,936
se_67331585
stackoverflow
FRONTEND_DEVELOPMENT
OneTrust not working. Error message in console
OneTrust not working. Error message in console I am trying to implement OneTrust for cookie consent into a site I made months ago. When I add the scripts code everything goes ok in localhost: it shows the message, the popup for cookie customization... but when I put it in production nothing appears but a message in co...
https://stackoverflow.com/questions/67331585/onetrust-not-working-error-message-in-console
javascript, cookies
1,619,775,495
se_28552639
stackoverflow
FRONTEND_DEVELOPMENT
How to run custom HTML/JS/GSAP inside Visual Composer/Wordpress?
How to run custom HTML/JS/GSAP inside Visual Composer/Wordpress? I am attempting to use custom JS and custom html within VC, but am having trouble correctly calling the JS code. My goal is to be able to use the Greensock Animation Platform. I am starting with simple code to get this working. In Visual Composer, I hav...
https://stackoverflow.com/questions/28552639/how-to-run-custom-html-js-gsap-inside-visual-composer-wordpress
javascript, wordpress, gsap
1,424,132,236
se_48881704
stackoverflow
FRONTEND_DEVELOPMENT
Is it possible to insert form into each row in table using Ant.design?
Is it possible to insert form into each row in table using Ant.design? I'm using React + Ant.design and I need to make a table where each row will be a form with a number of inputs which are represents fields of this row and user can edit value in each field and push Save at the end of each row. But I have no idea ho...
https://stackoverflow.com/questions/48881704/is-it-possible-to-insert-form-into-each-row-in-table-using-ant-design
javascript, twitter-bootstrap, reactjs, antd
1,519,118,574
se_45239581
stackoverflow
FRONTEND_DEVELOPMENT
Ag grid vertical scroll issue
Ag grid vertical scroll issue From backend data is comming in sequence number. Like ID will be generated as 1,2,3,4.....etc. We are displaying latest record on top like 5,4,3,.... Issue is on vertical scroll, we are missing huge number of rows to display in grid. Please let me know any solution for this. Note: Per s...
https://stackoverflow.com/questions/45239581/ag-grid-vertical-scroll-issue
javascript, ag-grid
1,500,645,364
se_5625968
stackoverflow
FRONTEND_DEVELOPMENT
Equal height script almost works
Equal height script almost works I'm using this to equalize heights of two columns: function equalheight(one, two) { if (document.getElementById(one)) { var lh = document.getElementById(one).offsetHeight; var rh = document.getElementById(two).offsetHeight; var nh = Math.max(lh, rh); ...
https://stackoverflow.com/questions/5625968/equal-height-script-almost-works
javascript
1,302,547,617
se_2828713
stackoverflow
FRONTEND_DEVELOPMENT
I can get the text of a selection, now how do I get the text outside the selection?
I can get the text of a selection, now how do I get the text outside the selection? I have a bit of code that returns the text of a selection and I can assign that string to a variable, but now all I need are two variables, one for the text before the selection and one for the text after the selection. Here is the cod...
https://stackoverflow.com/questions/2828713/i-can-get-the-text-of-a-selection-now-how-do-i-get-the-text-outside-the-selecti
javascript, range, selection
1,273,770,088
se_79993522
stackoverflow
FRONTEND_DEVELOPMENT
YouTube iframe always overlays the video for ~3 seconds before disappearing
YouTube iframe always overlays the video for ~3 seconds before disappearing I am building a Netflix-style hover preview: hovering a poster opens a card that plays that title's YouTube trailer as a background video. The card must show no YouTube UI at all and draws its own play/pause and volume controls in a layer abov...
https://stackoverflow.com/questions/79993522/youtube-iframe-always-overlays-the-video-for-3-seconds-before-disappearing
javascript, iframe, youtube-api, html5-video, youtube-iframe-api
1,786,542,926
se_79995118
stackoverflow
FRONTEND_DEVELOPMENT
How can I prevent duplicate API requests in JavaScript?
How can I prevent duplicate API requests in JavaScript? I am building a small JavaScript web application that fetches data from an API when the user changes a filter. Sometimes the user changes the filter quickly, which causes multiple API requests to be sent before the previous request finishes. I want to make sure t...
https://stackoverflow.com/questions/79995118/how-can-i-prevent-duplicate-api-requests-in-javascript
javascript, asynchronous, fetch-api
1,786,719,416
se_79993945
stackoverflow
FRONTEND_DEVELOPMENT
How to make an animated menu icon show/hide menu
How to make an animated menu icon show/hide menu I'm trying to make the animated menu icon open ☰ and close X the menu links. Instead of making two separate buttons, I can just code it in one button. I've managed to give my menuIcon an onlick openNav() and both a closeNav(). The onlick openNav is working fine, but clo...
https://stackoverflow.com/questions/79993945/how-to-make-an-animated-menu-icon-show-hide-menu
javascript, html, css
1,786,657,504
se_7815374
stackoverflow
FRONTEND_DEVELOPMENT
Get element inside element by class and ID
Get element inside element by class and ID Let's say I have HTML code like this: <div id="foo"> <div class="bar"> Hello world! </div> </div> How would I change Hello world! to Goodbye world!? I know how document.getElementsByClassName and document.getElementById work, but I would like to get more spec...
https://stackoverflow.com/questions/7815374/get-element-inside-element-by-class-and-id
javascript, html
1,318,985,109
se_71916954
stackoverflow
FRONTEND_DEVELOPMENT
Crypto.sign() function to sign a message with given private key
Crypto.sign() function to sign a message with given private key I need to sign a message with crypto.sign() function in NodeJS to get a valid JWT. I have a private key (base 64) like this: Dm2xriMD6riJagld4WCA6zWqtuWh40UzT/ZKO0pZgtHATOt0pGw90jG8BQHCE3EOjiCkFR2/gaW6JWi+3nZp8A== And I tried to get a signature: const ge...
https://stackoverflow.com/questions/71916954/crypto-sign-function-to-sign-a-message-with-given-private-key
javascript, php, cryptojs, ed25519, eddsa
1,650,315,095
se_22329928
stackoverflow
FRONTEND_DEVELOPMENT
Scale with fixed border size?
Scale with fixed border size? Is there any way of keeping border size fixed while scaling an object with CSS? I have an object with style below .myObj{ width:100px; height:100px; border:1px solid red } When I scale this object the border of this object also scales as normal. But how can I keep it at 1px? ...
https://stackoverflow.com/questions/22329928/scale-with-fixed-border-size
javascript, jquery, css
1,394,551,148
se_79995072
stackoverflow
FRONTEND_DEVELOPMENT
Why does my vanilla JavaScript debounce create multiple timers when used inside a React component?
Why does my vanilla JavaScript debounce create multiple timers when used inside a React component? I am trying to implement my own debounce function without using Lodash. My initial debounce function looks like this: function debounce(fn, delay) { let timer; return function (...args) { clearTimeout(timer); ...
https://stackoverflow.com/questions/79995072/why-does-my-vanilla-javascript-debounce-create-multiple-timers-when-used-inside
javascript, reactjs
1,786,708,540
se_51330687
stackoverflow
FRONTEND_DEVELOPMENT
How can I move a &lt;div&gt; continuously at every given time-interval?
How can I move a &lt;div&gt; continuously at every given time-interval? This is my code: <!DOCTYPE html> <html> <head> </head> <body> <div id="a">BELLA</div> <script type="text/javascript"> var myDiv = document.getElementById("a"); var myVar = setInterval(spostaDiv, 1000); function spostaDiv() { ...
https://stackoverflow.com/questions/51330687/how-can-i-move-a-div-continuously-at-every-given-time-interval
javascript, html, css
1,531,505,249
se_51353967
stackoverflow
FRONTEND_DEVELOPMENT
How to easily invert text color based on the background color
How to easily invert text color based on the background color I'm really new to JavaScript and such but I think that's what I've got to revert too. I have this navbar from bootstrap: <div class="navbar navbar-fixed-top"> <nav class="navbar navbar-expand-lg navbar-dark" style="background-color:mix-blend-mode: differ...
https://stackoverflow.com/questions/51353967/how-to-easily-invert-text-color-based-on-the-background-color
javascript, html, css
1,531,709,418
se_51203268
stackoverflow
FRONTEND_DEVELOPMENT
How to handle this layout using JavaScript?
How to handle this layout using JavaScript? I need a solution to handle my layout, I use the id for the button it is very troublesome. I think I will create it same many tab, when user click show only a cost of product .product{ height:300px; width:200px; background:#efefef; float:left; margin:10px; } .pr...
https://stackoverflow.com/questions/51203268/how-to-handle-this-layout-using-javascript
javascript, html, css
1,530,853,115
se_72739627
stackoverflow
FRONTEND_DEVELOPMENT
AssignProcessToJobObject: (87) The parameter is incorrect. node js javascript
AssignProcessToJobObject: (87) The parameter is incorrect. node js javascript I am using exec in node.js to run basic ls command. It shows me AssignProcessToJobObject: (87) The parameter is incorrect. I tested the rest of the functions calling it but could not find any solution. return new Promise((resolve, reject) ...
https://stackoverflow.com/questions/72739627/assignprocesstojobobject-87-the-parameter-is-incorrect-node-js-javascript
javascript, node.js, windows, exec
1,656,050,658
se_79994986
stackoverflow
FRONTEND_DEVELOPMENT
How to query a custom element&#39;s internal elements while in the document from a DOMParser()?
How to query a custom element&#39;s internal elements while in the document from a DOMParser()? How can the audio and script elements in the custom element be found within the DOMParser().parseFromString(...) result before adding it to the DOM? The MDN documentation for parseFromString reads: If the mimeType is text/...
https://stackoverflow.com/questions/79994986/how-to-query-a-custom-elements-internal-elements-while-in-the-document-from-a-d
javascript, custom-element, domparser
1,786,682,828
se_41225295
stackoverflow
FRONTEND_DEVELOPMENT
Getting document is not defined , from document.getElementById
Getting document is not defined , from document.getElementById I am learning JavaScript and I am using Atom (Text Editor). On my HTML file I got only this: <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="style.css"> <script src="script.js"></script> </head> <body> <h1>Hello Plunker!</h1> <b...
https://stackoverflow.com/questions/41225295/getting-document-is-not-defined-from-document-getelementbyid
javascript, html, atom-editor
1,482,159,350
se_14028959
stackoverflow
FRONTEND_DEVELOPMENT
Why does jQuery or a DOM method such as getElementById not find the element placed later in markup?
Why does jQuery or a DOM method such as getElementById not find the element placed later in markup? What are the possible reasons for document.getElementById, $("#id") or any other DOM method / jQuery selector not finding the elements? Example problems include: jQuery silently failing to bind an event handler jQuery ...
https://stackoverflow.com/questions/14028959/why-does-jquery-or-a-dom-method-such-as-getelementbyid-not-find-the-element-plac
javascript, jquery, dom
1,356,423,986
se_11447014
stackoverflow
FRONTEND_DEVELOPMENT
EXTJS: hidden element does not show up after setvisible
EXTJS: hidden element does not show up after setvisible Hello I want to show and image that is like an alert sign when a change is done, then I have a footer panel like this one, with the sign: Ext.define('footerPanel', { extend: 'Ext.panel.Panel', cls: 'fastec_background', height: 24, autoScroll: fal...
https://stackoverflow.com/questions/11447014/extjs-hidden-element-does-not-show-up-after-setvisible
javascript, events, extjs, extjs4
1,342,078,377
se_74456448
stackoverflow
FRONTEND_DEVELOPMENT
node module not found .MODULE NOT FOUND
node module not found .MODULE NOT FOUND node app.js node:internal/modules/cjs/loader:998 throw err; ^ Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\app.js' at Module._resolveFilename (node:internal/modules/cjs/loader:995:15) at Module._load (node:internal/modules/cjs/loader:841:27) ...
https://stackoverflow.com/questions/74456448/node-module-not-found-module-not-found
javascript, html, reactjs, node.js
1,668,582,540
se_26072366
stackoverflow
FRONTEND_DEVELOPMENT
How do I convert Byte[] formatted image to Base64string using JavaScript?
How do I convert Byte[] formatted image to Base64string using JavaScript? I want to display an image from an SQL database, onto my webpage. I got the image in the format {byte[6317]}. How do I convert it into Base64string?
https://stackoverflow.com/questions/26072366/how-do-i-convert-byte-formatted-image-to-base64string-using-javascript
javascript, jquery, html
1,411,802,825
se_79553125
stackoverflow
FRONTEND_DEVELOPMENT
How do I read the first N bytes of a file from an HTML File input?
How do I read the first N bytes of a file from an HTML File input? Say the user may upload a file on a web page, that usually is of a big size (minimum 80 MB, can be way more), and of a specific type, say, for example, PDF. Considering these are huge files, we wouldn't want to waste bandwidth unnecessarely uploading t...
https://stackoverflow.com/questions/79553125/how-do-i-read-the-first-n-bytes-of-a-file-from-an-html-file-input
javascript, html, filereader
1,743,687,930
se_79657434
stackoverflow
FRONTEND_DEVELOPMENT
Issue with trying to focus textarea on doubleClick
Issue with trying to focus textarea on doubleClick (i'm using wails golang framework that uses native webview) I want my textarea to focus on double click for that i have the component below [Ignore the setIsEditing its just for css] -> The textarea is readOnly by default. Expected behaviour: on double click, the read...
https://stackoverflow.com/questions/79657434/issue-with-trying-to-focus-textarea-on-doubleclick
javascript, reactjs, typescript, wails
1,749,345,693
se_492994
stackoverflow
FRONTEND_DEVELOPMENT
Compare two dates with JavaScript
Compare two dates with JavaScript Can someone suggest a way to compare the values of two dates greater than, less than, and not in the past using JavaScript? The values will be coming from text boxes.
https://stackoverflow.com/questions/492994/compare-two-dates-with-javascript
javascript, date, datetime, compare
1,233,256,446
se_78422139
stackoverflow
FRONTEND_DEVELOPMENT
Can&#39;t upload file via HTML form using Calcite Input component (&quot;Failed to set the &#39;value&#39; property on &#39;HTMLInputElement&#39;&quot;)
Can&#39;t upload file via HTML form using Calcite Input component (&quot;Failed to set the &#39;value&#39; property on &#39;HTMLInputElement&#39;&quot;) I'm receiving the console error DOMException: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be progr...
https://stackoverflow.com/questions/78422139/cant-upload-file-via-html-form-using-calcite-input-component-failed-to-set-th
javascript, html, forms, arcgis, esri
1,714,693,793
se_79280922
stackoverflow
FRONTEND_DEVELOPMENT
How to add custom message on Zod tuple?
How to add custom message on Zod tuple? I want to return a custom message on a Zod tuple. I did not find any way to do that. Returned message: Array must contain at least 4 element(s) Code: z.tuple([ z.enum(), z.number(), z.string(), z.array(), ], { message: "Needs to be an array." }) //.refi...
https://stackoverflow.com/questions/79280922/how-to-add-custom-message-on-zod-tuple
javascript, typescript, express, zod
1,734,190,790
se_79493246
stackoverflow
FRONTEND_DEVELOPMENT
How to customize LinearProgress color in Material UI
How to customize LinearProgress color in Material UI I have set a theme for my codebase using createTheme like so: import { createTheme } from '@mui/material/styles'; export default function getTheme() { return { theme: createTheme({ palette: { ..., progress: { 0: '#000000', ...
https://stackoverflow.com/questions/79493246/how-to-customize-linearprogress-color-in-material-ui
javascript, reactjs, next.js, material-ui
1,741,373,725
se_56326811
stackoverflow
FRONTEND_DEVELOPMENT
How to fix error - end of central directory record signature not found?
How to fix error - end of central directory record signature not found? First, I split the video into frames with ffmpeg (on the Converter server, Windows), after that I create an archive that I need to transfer to another server (Generator server, Linux), where the archive with video and/or image, frames, and the dat...
https://stackoverflow.com/questions/56326811/how-to-fix-error-end-of-central-directory-record-signature-not-found
javascript, node.js, koa
1,558,962,758
se_72884346
stackoverflow
FRONTEND_DEVELOPMENT
How to prevent mutation
How to prevent mutation I have been trying to write a function which calculates mixed bills, with NO MUTATION using ES6. I have a code below, what it does is, it takes group of people's given money, adds all of them in order to get the total amount and then loops and then divides to length of the users in order to get...
https://stackoverflow.com/questions/72884346/how-to-prevent-mutation
javascript, immutability
1,657,113,802
se_30978963
stackoverflow
FRONTEND_DEVELOPMENT
Combine JSON object and JavaScript object
Combine JSON object and JavaScript object I have a JSON response from MySQL in this format: { "allResult": [{ "UkupanBroj": "1", "mesec": "Jul" }, { "UkupanBroj": "3", "mesec": "Jun" }, { "UkupanBroj": "1", "mesec": "May" }], "resultByKurs": null } I...
https://stackoverflow.com/questions/30978963/combine-json-object-and-javascript-object
javascript, json
1,434,972,905
se_71377726
stackoverflow
FRONTEND_DEVELOPMENT
How to add auto page break and footer per page in jsPDF?
How to add auto page break and footer per page in jsPDF? How to add page break automatically when the page will be printed, I use jspdf plugin in vuejs 2, is it possible to add page break using those plugins? Currently, the 2nd div appears broken in the exported file hence I would like to have the div and footer will ...
https://stackoverflow.com/questions/71377726/how-to-add-auto-page-break-and-footer-per-page-in-jspdf
javascript, css, vue.js, vuetify.js, jspdf
1,646,638,545
se_30979373
stackoverflow
FRONTEND_DEVELOPMENT
SapUI5: List item with a toggle (hide/show) for another List Item
SapUI5: List item with a toggle (hide/show) for another List Item Hey UI5 is a framework which has many possibilities but sometimes I crush with ideas (which would be probably easier in normal HTML) against the walls. That's what I want: A List with ListItems displaying Cities for example Berlin, Los Angeles, Moskau e...
https://stackoverflow.com/questions/30979373/sapui5-list-item-with-a-toggle-hide-show-for-another-list-item
javascript, list, sapui5
1,434,974,075
se_29699830
stackoverflow
FRONTEND_DEVELOPMENT
Get file name from document library
Get file name from document library I have a document library named DocLibrary. Inside that, I have created few folders. Each folder have 3 other folder. Inside that, I store the specific files. Example: DocLibrary > NF1> Communications, where DocLibrary is the document library, NF1 is the folder inside DocLibrary and...
https://stackoverflow.com/questions/29699830/get-file-name-from-document-library
javascript, sharepoint, sharepoint-2013, sharepoint-clientobject
1,429,275,372
se_56557176
stackoverflow
FRONTEND_DEVELOPMENT
Export HTML table to Excel with formatting
Export HTML table to Excel with formatting I am creating a web page where the data is uploaded to an HTML table. After some calculation, an output HTML table gets generated. The output HTML table must be dumped in Excel (.xlsx) format. I'm using the SheetJS library for uploading and downloading purpose. I have tried t...
https://stackoverflow.com/questions/56557176/export-html-table-to-excel-with-formatting
javascript, excel, html-table, sheetjs
1,560,326,019
se_14713328
stackoverflow
FRONTEND_DEVELOPMENT
Series fillColor for marker on hover ONLY
Series fillColor for marker on hover ONLY I "faked" a clear circle as markers by setting the fillColor the same as the background. It works just fine. Now, on hover, I am trying to get the circle to fill with the series color. I can't set it as null, as then it takes the background color still. Any ideas? Here is my...
https://stackoverflow.com/questions/14713328/series-fillcolor-for-marker-on-hover-only
javascript, highcharts
1,360,085,196
se_50710529
stackoverflow
FRONTEND_DEVELOPMENT
How to make a button that switches between two colours?
How to make a button that switches between two colours? This JavaScript will only change the colour one way. How could I make it so only the one button can be dark/selected at a time depending which button you select? this is for a small log-in window on my site, and I'm trying to make it switch between two tabs/menu...
https://stackoverflow.com/questions/50710529/how-to-make-a-button-that-switches-between-two-colours
javascript, html, css
1,528,243,364
se_79993630
stackoverflow
FRONTEND_DEVELOPMENT
Reorder the properties in each object in an array
Reorder the properties in each object in an array I have an array of objects where the properties of each object are sorted alphabetically. I want to change each object so the properties appear in a custom order: ["fname", "lname", "address", "suburb", "state", "age", "sex", "occupation"] [ { "age": 52, "add...
https://stackoverflow.com/questions/79993630/reorder-the-properties-in-each-object-in-an-array
javascript, arrays, sorting
1,786,576,141
se_79993669
stackoverflow
FRONTEND_DEVELOPMENT
I&#39;ve got an error with my upgrade buttons
I&#39;ve got an error with my upgrade buttons I have 2 upgrade buttons: a click upgrade, and an auto clicker. When you try to buy an upgrade without enough money, you get a confirmation. But if you successfully buy an upgrade after getting that confirmation, the text doesn't update and the animation doesn't play, but ...
https://stackoverflow.com/questions/79993669/ive-got-an-error-with-my-upgrade-buttons
javascript, html, function, variables, button
1,786,591,032
se_79993675
stackoverflow
FRONTEND_DEVELOPMENT
Are object URLs now cached on disk instead of memory only?
Are object URLs now cached on disk instead of memory only? Looking at the cache on disk for the active profile, it appears that object URLs are being stored in the cache; and @Kaiido stated (at the end of a comment to Audio blobs and objectURL: is there a create/load delay in Firefox?): Nowadays Blob's data is stored...
https://stackoverflow.com/questions/79993675/are-object-urls-now-cached-on-disk-instead-of-memory-only
javascript, revokeobjecturl
1,786,592,285