Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Browsing all 140071 articles
Browse latest View live
↧

How to change item color in javascript?

How can I change the item color when being hovered in Javascript? Not allowed to change in HTML nor CSS.Tried this but not working:$("#image1").hover( function(){ $(this).css({color:'white'}); },...

View Article


Bootstrap thymeleaf dynamic select list

I'm writing an application using spring boot + thymeleaf + bootstrap. The application is a typical CRUD: - the user of the application has his clients - every customer has their devices and locationsI...

View Article


Express js backend to send email from contact page using firebase hosting...

I have created a backend server using express and deployed to firebase. which allows me to receive emails from my contact page in my portfolio.I am able to receive emails when I run both client and...

View Article

Using jQuery to set up a flash player

I have a flash player (used only for browsers not supporting html5 video) set up like this:<object id="mpl" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"...

View Article

Switch case in order to check if string contains a substring

I have a string and want to check if there is a substring with switch/case. The fnstringCheck returns true for example if the fnstring is dies_ist_ein_test_diagnosen_erfassen.What's going wrong? Thanks...

View Article


FCM Web - Same foreground and background notification (reuse background...

I would like to know if it's possible to show the same notification when my website is in foreground, as when it is in background. I don't want to personalize the looks of the notification, I want to...

View Article

content_scripts. Why this code works in Chrome and does not work in Firefox?

The code adds an IMDB rating for movies to the page.var jqxhr = $.getJSON('https://omdbapi.com/?t='+encodeURI(name)+'&y='+year+'&apikey=fde63f02') .success(function() { console.log("Successful...

View Article

Knowing the coordinates of the green dot, scroll it around the red dot using...

Please tell me how you can implement the rotation around the red dot?I know that I need to calculate the coordinates, but unfortunately I can’t implement it yet :(<label class="label-input...

View Article


How to prompt an alert when the user exits the page with JS?

I am will use it on an asp.net webform and open the page in firefox version 73.0 (64-bit).I tried:<script> function myConfirmation() { return 'Are you sure you want to quit?'; }...

View Article


Sequelize: Using "where" inside a child include overrides parent's "where"...

So,I have two tables, with a 1:M relationship. They have in common two primary keys: tenant and user_id.I have defined the model relationship and btw, I am not sure if I did it correctly because I am...

View Article

Image may be NSFW.
Clik here to view.

Laravel ajax file upload (excel file: 1M+ rows)

I'm trying to create a proper progress bar for my excel file upload in Laravel I'm using ajax to upload the file and have gotten the progress bar for the upload part to "kind off" work. My only...

View Article

How to make a condition for onclick loader when user don't completed all...

I have a problem with the form, there is some information in the form and a photo to upload. The time to send the form is different depending on the weight of the file, if it is ~ 3MB it's ok, however...

View Article

Create Firebase notification with page in foreground/focus

With Firebase Cloud Messaging (for web), how can I generate the notification that appears when the webpage is closed or in the background, but when I'm actually focused on the webpage? It's my...

View Article


Image may be NSFW.
Clik here to view.

Axios 'put' request passing array as empty value

this is my 'PUT' request using Axios. the problem is the data array inside the userdata is passing as empty value to the beckend. but the console.log just before the api call shows the correct value....

View Article

useState what am I doing wrong?

I'm creating an app that reads the alarm state of several ELK alarm systems. I'm using useState to process the data that I am receiving via socket.io from my server. The data that the server is...

View Article


Inability to write in mongoDB: Inability to write in mongoDB:

Hi,when I try to save in the mongoDB no data is savedI put more code in my app to better report the bug. The question is: In the code that I created to be able to record in the DB, why doesn't it work?...

View Article

When i download my TABLE to PDF it overlaps

the table heads overlap I tried changing the margins on the pdfFromHTML5.js file, but still, it won't work, any ideas guys? these are the screenshot on the table and pdf file.and I also tried using...

View Article


Execute a function completely before moving on in javascript [duplicate]

I am trying to fetch a list of items from an API and add them to my ul element.I am adding each item as a button to the ul and a adding class "category" to them. Then printing out list of elements with...

View Article

How to create route with javascript [closed]

I know I can use front-end frameworks such as "React" or "Vue" to create route in a single page app. but I have a practice in which i should create routes with pure javascript or maybe jQuery. I have...

View Article

Sharepoint Teamsite-calendar-webpart - save appointment to outlook

Is there a way to save a calendar entry by javascript to personal outlook-calendar within a sharepoint-calendar webpart ? I want to save a created Entry in a sharepoint-calendar direkt to the personal...

View Article
Browsing all 140071 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>