839 1
geolocation not working on safari browser,but its working fine on Chrome,IE,Mozila

I am using HTML5 geolocation which is not working on safari browser,but its working fine on Chrome,IE,Mozila,here is my current javascript code

...
Type
Question
813 1
how to add-remove property in Javascript Object?

Suppose I have a javascript Object

...
Type
Question
793 1
How to get current timestamp using javascript?

Hello, How can I get a timestamp in JavaScript? I need simple, understandable & easy code.

...
Type
Question
770 1
How to strip out only Text from HTML string using javascript?

Suppose I have an HTML string like below:

...
Type
Question
707 1
How to clone object in JavaScript?

I was trying to copy/clone the object and edit the new one but whenever I change edit NewObject, olderObject also get's changed, suppose here is my Object

...
Type
Question

694 1
How to get response data from XMLHttpRequest?

I was trying to get location by calling google maps API using javascript and wanted to know how to get response text/data after request is successfully sent.

Here is my javascript code:

...
Type
Question
650 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
649 0
Using Google maps Javascript api in HTML (Show location with Marker)
In this article, I have explained how you can use google maps JavaScript API to use it your HTML web-page with markers and text on click, to use it in contact us page.
Type
Article
614 1
How do Add class using Javascript?

I wanted to add or remove classes from my HTML <div> dynamically using Javascript, I don't want to use jQuery here, so How can I add a class using JS?

If possible, I would also like to know how can I toggle class in Javascript

...
Type
Question
532 0
Implementing Javascript Drag and Drop using HTML5
In this article, I have explained how you can create drag and drop functionality in HTML 5 page using Javascript.
Type
Article

Page 6 of 7