4531 0
Form validation in javascript
In this article, I have provided complete step by step procedure to validate form in javascript, without using any external library.
Type
Article
2407 0
Parse CSV file data into Array Using Javascript
In this article, I have mentioned how we can load CSV file and parse CSV into array using Javascript
Type
Article
6551 0
Generating GUID/UUID using Javascript (Various ways)
In this article, I have provided details on how to create or generate guid / uuid using Javascript easily, in various possible ways.
Type
Article
6474 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
10432 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

1963 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
13215 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
2877 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
711 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
9744 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

Page 6 of 13