6188 0
How to get user location using Javascript / HTML5 Geolocation?
In this article, I am going to provide you few solutions using which you can get user location using JavaScript or HTML5 Geolocation with example.
Type
Article
5522 0
Local Storage in HTML5 using Javascript (Storing-fetching objects)
This article explains about HTML5 local storage and how to use local storage in javascript (storing and retrieving objects), instead of cookies to get better security and faster results.
Type
Article
5302 2
How to check if url contains a sub-string using jQuery or javascript?

How do i check if the current URL contains the sub-string using jQuery or javascript?

I need to select a anchor tag using class if a condition is met, suppose i need to check if URL has "/CRM" then select

...
Type
Question
4883 3
Datetime Format Regex (MM/dd/yyyy) Javascript

I want to validate the date format on every keypress/keyup that the user's typed.

I've researched for what i'm trying to achieve. And I've found the solution here:

https://stackoverflow.com/questions/36009414/regex-to-validate-date-yyyy-mm-dd-while-typing-on-keyup 

(i was referring to @bobble bubble's answered)

but the format was YYYY-mm-dd. So, I tried to reverse to the format i was looking for to (MM/dd/yyyy).

But i cant get throught with validating every press that the user's typed. What happend was its validate as whole(regex) not one by one.

I also read his explanation about non-capturing group. But still, i can't get it.

 

Happy Coding!

...
Type
Question
4649 0
Read PDF file using Javascript
In this article, I have provided example to read content of pdf file using Javascript with code explanation.
Type
Article

4537 0
Best Javascript Drag and Drop Libraries
In this article, I have introduced you to few useful JavaScript plugins which can help you can create javascript based drag and drop functionality.
Type
Article
4200 3
How to create social media share buttons using HTML & JavaScript? (no external library)

Hello, I would like to add social media share buttons on a website without using any external javascript plugin, as I am already using external JS plugins which increases page-load time, so I want to create custom social media buttons using HTML,CSS and Javascript or jquery only (without external plugins) to decrease page load time.

Any code help or link will work

thanks

...
Type
Question
4191 1
SyntaxError: Invalid shorthand property initializer

I am getting the error "SyntaxError: Invalid shorthand property initializer" in my Chrome console, after writing this code of javascript/jquery

...
Type
Question
4168 0
Create a simple calculator using Javascript
In this article, I have explained how you can easily create a simple calculator using javascript's eval function (step by step tutorial with demo)
Type
Article
4148 3
How to get client's IP address using javascript or jQuery

Hello, I would like to know, how to get client’s IP address using JavaScript and jQuery?any working example or code? thanks

...
Type
Question

Page 2 of 9