2703 1
How to remove all Google maps marker using Javascript?

Hello, I was able to add multiple markers using javascript in google maps, but now I would like to remove them without reloading google maps. I was able to remove one using 'marker.setMap(null);' but how can I remove all markers at once using Javascript in Google Maps.

 

...
Type
Question
2602 1
How to get lat/long using Google address autocompete api using Javascript or jQuery?

I am currently using Google's address autocomplete api to get the locations (address) as shown in example here

https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

Now I would like to get only Latitude and longitude of address, when user selects the address.

How can I do this using Javascript or jQuery?

...
Type
Question
2596 1
Error "TypeError: Cannot read property 'classList' of null"

Hello, I am trying when simple code to add datepicker in javascript using below HTML and Javascript Code, but I am getting error "TypeError: Cannot read property 'classList' of null", how can I resolve it?

cannot-read-properties-of-null-reading-classlist-min_sgpbi5.png

HTML/JS Code

...
Type
Question
2548 0
Send email from Javascript
In this article, I have provided sample code to send email using Javascript with smtpjs api.
Type
Article
2496 2
How to detect click outside an element (or div)?

Hello, I am trying to work on a project which requires me not allow a user to click outside of a particular element, let's say a "<div>" or "<p>", then how can I detect click outside an element using Javascript?

...
Type
Question

2431 0
Get File Size in MB/KB using Javascript
In this article, I have mentioned how we can get file size in Mb or KB using javascript or jquery
Type
Article
2418 3
How to select specific div or Form which does not have specific class?

I want to select an HTML element (form) which does not have a specific class ('Ajax_Stop'), so that I can implement a jQuery function on that, basically when submitting a form I want to check if a form or div doesn't have that specific class using jQuery-javascript, & run a function if it doesn't have that CSS class.

How to do it using jQuery or javascript?

...
Type
Question
2380 3
How to Parse JSON in javascript?

How can I parse JSON string in javascript?

The response is something like

...
Type
Question
2363 1
What's the difference between let and var in JavaScript?

Hello, as I am not very well versed with javascript, I would like to know the difference between let and var keyword of javascript?(With example if possible)

Or Any reference link with proper details will also work, thanks

...
Type
Question
2311 2
how can i validate email using javascript?

I would like to know how can I validate email using javascript-jquery?

...
Type
Question

Page 9 of 13