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

Why javascript is called lightweight language?

896


How to getting values from cookies to set widgets?

920


How many data types are there in javascript?

1033


What does _ mean in javascript?

986


How to use strings as array indexes using javascript?

1035


How do I open a website code?

1038


What are the main features of javascript?

1112


What are javascript closures?when would you use them?

933


How to toggle display an html element?

1058


What is meaning of === in javascript?

972


How to get inner html of an element in javascript?

968


What is the difference between sessionstate and viewstate?

932


Why are callbacks used?

874


How to create an object in javascript?

1201


What is the main difference between Map collections and other collections such as Set.

3036