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
Why javascript is called lightweight language?
How to getting values from cookies to set widgets?
How many data types are there in javascript?
What does _ mean in javascript?
How to use strings as array indexes using javascript?
How do I open a website code?
What are the main features of javascript?
What are javascript closures?when would you use them?
How to toggle display an html element?
What is meaning of === in javascript?
How to get inner html of an element in javascript?
What is the difference between sessionstate and viewstate?
Why are callbacks used?
How to create an object in javascript?
What is the main difference between Map collections and other collections such as Set.