using javascript
about 9 years ago
Java Script arrays are used to store more than one values in a single variable. In the below given example we will use script to display array (var= names) data inside a <p> (paragraph) tag of HTML with id="display".
<!DOCTYPE html> <html> <body> <p id="display"></p> <script> var names = ["Albert", "Rocky", "Advard"]; document.getElementById("display").innerHTML= names; </script> </body> </html>
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)