1.

How to concatenate two strings using jQuery?

Answer»

In order to concatenate two strings in jQuery concatenate the strings USING + consternation operator. You have to follow a sequence of codes soon after it. Once it is done, the strings GET concatenate. There are some other ALTERNATIVES as well.

Example

VAR a = 'BEST Interview';
var b = 'Question';
var result = a + b;

// output
Best Interview Question



Discussion

No Comment Found