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
What does unshift() function do in Javascript?
What is difference between deep and shallow object coping in javascript?
Where should I put script tags?
Is javascript the future?
What are the types of variables in javascript?
How do I link an external javascript file to html?
Which built-in method returns the calling string value converted to upper case?
What are the main uses of javascript?
Is javascript used for backend?
What is the use of a number object in javascript?
What is the disadvantage of javascript?
Why is currying called currying?
How and where javascript namespacing is used?
Can I learn javascript without knowing java?
Explain window.onload and ondocumentready?