5933 0
Read JSON file with Javascript
In this article, I have explained how we can read JSON file with JavaScript easily and can parse it.
Type
Article
9823 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
1708 0
Convert CSV to JSON using Javascript.
In this article, I have mentioned few possible ways to convert CSV into JSON using Javascript.
Type
Article
12490 0
Read CSV file in Javascript and HTML5 FileReader (Multiple ways)
In this article, I have explained how you can read or parse CSV file using JavaScript with HTML5 FileReader and using jQuery with External API, second way.
Type
Article
2511 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

4127 0
Nested and Complex JSON examples
In this article, I have posted sample nested json example and complex JSON examples, by checking which you can create your JSON to send data on Server side.
Type
Article
555 1
AJAX request confusion

Figure i am talking about-:

https://imgur.com/a/T4viIKF

 

Confusions, "ie" means my interpretation that i am not sure if is correct or not)-:

1) user clicks invoking an event handler.

  i.e when an user event occurs, it makes a javascript call. most likely user event=function call

2) handler's code creates xmlhttprequest object

  i.e that javascript call creates xmlhttprequest in ajax engine.

3) xhr requests file from server

4) server sends the file.

5) NOW I AM CONFUSED.

the terminologies are confusing me. 

like-:

  1. a) xhr fires an event. what does that mean? and why to fire an event? Doesn’t user only fire event? Like clicking,pressing some key etc.
  2. b) you can attach handler function to event. (maybe it is trying to talk about event handler i.e if event->handlerfunction() )..I am not sure. 

handler fxn then processes the data and displays it.

...
Type
Question
8975 0
Easy way to convert HTML to PDF using Javascript
In this article, I have provided sample code with output to convert HTML to PDF using Javascript, using jsPDF library or without using any library.
Type
Article
13784 2
Convert html to word with images (Using Javascript OR Using jQuery plugin)
In this article, I have explained, how you can convert your html document into word .doc using jQuery plugin OR simply by using Javascript function.
Type
Article
2714 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

Page 6 of 13