5121 0
Email Validation using Javascript (With OR Without Regex)
In this article, I have explained about various possible methods for JavaScript email validation with regex and without regex, with example.
Type
Article
5047 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
4843 1
Adding Multiple markers in Google Maps using Javascript API?

I am folllowing this tutorial "Using Google maps Javascript api in HTML (Show location with Marker)" but as this example shows how to add only one location with marker in google maps. I would like to add multiple markers in multiple locations of maps. How can I do it. Suppose I have following locations in an array:

...
Type
Question
4463 2
How to implement validation for input type file using jQuery or javascript?

Hello, I have a HTML form inside which there is <input type="file" /> field, and now before posting form to the server side, I need to validate/check if file field is empty or not, I want user to upload atleast one image file in this field, so how I can implement validation message for <input type ="file" /> field in the form using jQuery or javascript code?

Sample HTML Form

...
Type
Question
4256 3
Read Excel file on page load from url and show contents

My question is regarding this article "Read Excel file using Javascript". It is very useful script and I was searching it from long time.

Basically, I want to open address.xlsx automatically and read it, when I open html file in browser, don't want to browse file and then read/show the Excel output. How can I do it.

If possible, I would like to add, an input text-box with ability of search excel data displayed table.

Thanks

...
Type
Question

4199 2
How to do javascript file upload?

Hello, I am working on a web-application in which I would to upload file using javascript, as soon as someone select's the file using HTML file input, so what should be the code for uploading file using javascript?

Although I need only front-end code/tutorial link etc, but if possible i would like to know C# code to get it in MVC Controller also, thanks.

...
Type
Question
4033 0
Javasript ES6 class explanation with example
In this article, I have explained about javascript es6 classes, it's syntax & how to use it with an example.
Type
Article
4007 2
calculate distance between two locations in google maps
How do you calculate the distance between two locations(points or lat/lang) in Google Maps using javascript or jquery?
thank you
...
Type
Question
3834 3
How to show formatted (pretty-print) JSON using JavaScript?

I am getting a JSON from the server side(C# .NET) using jQuery ajax call, now I would like to show this JSON to users in readable format like postman does when we send request using it(& get results in JSON) or you can say want to show JSON in readable or formatted form.

How can I achieve it using jquery or javascript?

...
Type
Question
3807 0
Read or Generate QR Code using Javascript
In this article, I will provide you sample JavaScript code to read or generate qr code, basically how to generate qr code using Javascript.
Type
Article

Page 4 of 11