Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

program showing string concatenation?

Answer Posted / prasadkonnur

HI Rajeshwar,

you are right. $variable work in php. not in javascript.

var a="hello";
var b="world";

var concat= a+b;
document.writeln(concat);

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of javascript?

912


Is it possible to do 301 redirects in javascript ?

850


Write a program to reverse a string in pure javascript?

931


What is differential inheritance?

913


How does typeof operator work?

984


how to read and write a file using JavaScript?

1114


How can a Javascript code redirect the user to a different page?

917


What is argument objects in javascript?

898


Consider the following code: 1 2 3 4 5 (function() { var a = b = 5; })(); console.log(b); what will be printed on the console?

803


What is the syntax of ‘self invoking function’? Give an example?

889


What is the scope variable in javascript?

960


What is slug in javascript?

971


How do I unblock javascript in chrome?

953


What is double exclamation point?

894


Do I need to install javascript?

908