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

Parallax - help making vertical position start at 200px rather than 0px

I'm using a precoded Parallax JQuery as part of a Wordpress theme called Parallax by Studiopress. It works fairly well, but I end up missing the top half of the image when scrolling and I'd like the...

View Article


how to listen for changes to the title element?

In javascript, is there a technique to listen for changes to the title element?

View Article


Not able to access the account Id from JSON Object

Below is the JSON stringified response. I tried to access the account ( data.fields.Account) but I am getting an undefined error for data.Fields itself:{ "data": { "apiName": "Contact",...

View Article

Angular Stripe Integration error: Please provide an element or PaymentMethod

I am trying to integrate stripe with my mean stack app by following this guide but I am getting an error called on Angular side of the intergration.Following is my Angular component code:import {...

View Article

how to update data from meteor in meteor using template helper which contain...

i just explored the meteor.js and have some experiment.. i want to update data using textbox.. but the textbox is generated from template helper iteration..so, the scenario is just like we input data...

View Article


auto refresh google chart

i have a pie chart and want to auto refresh my pie chart every 5 sec this is my script code and thank you hey guys , i have a pie chart and want to auto refresh my pie chart every 5 sec this is my...

View Article

How to display specific date format on HTML

How can I go about formatting a date displayed to the user on a website? Basically, I am grabbing the date from a MySQL table and displaying on the website using Nunjucks.MySQL Code:CREATE TABLE IF NOT...

View Article

How to convert JSON data to XML format data and download the file in javascript

CODE converting json to xml but not as required as i wanted what should i add to add those two lines and download the xml format filefunction json2xml(json) { var a = json; var c =...

View Article


Add multiple Waypoints | Destinations with Map Box directions API

when using the Mapbox Directions API in my webapp I would love to include the function to plan my route to the entered destination-coordinates along multiple, customizable coordinates. I am thinking...

View Article


Create column span when booking timeslot

I was playin' around for a few hours, but didn't find a good solution, so that's why I came up here.Right now I'm trying to display a table with different time slots...

View Article

Writing text letter by letter with canvas javascript?

I am trying to get the letters to write out one by one wich it does but having more of a timeout when each letter is written. setTimeout() method does not work well since the upper part of the code is...

View Article

jQuery validation is not working.. can youtell me this code is right or wrong?

Im using jQuery validation, the validation is working properly but after fill the field click submit button always shows its not a valid form alert msg.. but all the field is filled.. i dont know why...

View Article

Vue and Node JS deployment

I'm trying to make my first app using Vue Js for the front and Node for the back.On my computer I created a folder "project" which contains this 2 folders : . Client => for the Vue Js Front ....

View Article


CSS and JS are not loading in subdomain

I am trying to load CSS and JS files from a sub-domain.The URL of my sub-domain is https://example.example.comI am trying to load the style-sheets with the following statement:<link rel="stylesheet"...

View Article

how to create a previous and next button whiles retaining the contents on the...

hello i have written this program, and i have a previous and next button with check boxes, in which a user needs to select to answer a question, but i want it in a way that when the user clicks the...

View Article


Remove white spaces and convert it into lowercase (type is a string) and give...

This question already has an answer here:Strip spaces and make string lowercase with Javascript [duplicate] 2 answersReplace spaces with dashes and make all letters lower-case 3 answersRemove white...

View Article

Loading a Google reCAPTCHA in AJAX loaded form

I am having issues rendering google reCAPTCHA on a page that's loaded using AJAX.So to start with you go on a page. Then you click on for example the Contact link, which load the contact page via AJAX....

View Article


Confused about sending variable to partial and showing partial in view

This is taking me ages. I'm sure I have an incorrect understanding of partials but I've done plenty of reading and don't seem to be getting anywhere. These are the steps I am trying to create.a) A user...

View Article

how can I use oninput without keyboard or mouseclick once there is a number...

I'm enetering input digits with my javascript and I want to activate a function every time there is a digit change (driven by javascript) inside on of my inputs without using keyboard or mouseclick....

View Article

Passing an object an array of it's own promises functions to be executed in...

I would like to achieve the following: I have a class generating an object with a series of methods. Each of these is likely to be a promise.From the outside of it should be possible to pick these...

View Article
Browsing all 139863 articles
Browse latest View live


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