1
Я новичок в JavaScript, и вот вызов Я не знаю, как победить!Как временно хранить данные в java-скрипте из тега html?
Вот пример кода, я пробовал:
<body>
<p id="hello">Hello world.</p>
<script type="text/javascript">
var store,newString,finalString;
//i want to store the content of <p> tag in store variable
store=?
newString="I am Shuvrow";
finalString = store + newString;
//finally i want to replace the content of <p> tag by finalString variable
</script>
</body>