Line From code

Line From code

document.getElementById("demo").innerHTML=Date();

Please explain each and every word in this line !

View Answers

July 4, 2013 at 12:09 PM

getElementById(""); take the id as argument and innerHTML insert the date which you explain in your code in thew HTML part... the "demo" is a ID in Your Code which is placed on your HTML CODE.....

Ads









Related Tutorials/Questions & Answers:
Line From code
Line From code  document.getElementById("demo").innerHTML=Date(); Please explain each and every word in this line
line chart from database in jsp
line chart from database in jsp  how can i create line chart from database in jsp code
Advertisements
download code from database
download code from database  how to download files from database
Java memory options from command line
Java memory options from command line  Hi, How to use java memory options from command line? Thanks   Hi, Here is the example code: java -Xms1056m -Xmx1056m MyProgram Thanks
Repairing mysql database from command line
Repairing mysql database from command line  Hi, Can anyone tell me the process for repairing mysql database from command line? Thanks
How to run PHP Script from the command line ?
How to run PHP Script from the command line ?  Running PHP Script from the command line   Actually it is very simple to run php script command line. Except there are a few things that are different, for example
How to invoke method of a library from command line
How to invoke method of a library from command line  Suppose there are two methods in a libray and you have to invoke one of the method from that library directly from the command prompt. How will you do
Read file from the Nth line
Read file from the Nth line Java provides several classes and methods... from top to bottom but here we are going  to read a file content from a particular line till end. Here is the code: import java.io.*; import
Running R script from command line
Steps of running R script from command line In the previous tutorial we developed Hello World program and executed the code from RGui. In this tutorial we will create a file for R script and then run this script from command line
Compiling and Running Java program from command line
Compiling and Running Java program from command line - Video tutorial that explains you all steps necessary to compile and run the Java program from dos... of compiling and running java program from command line. We have also video
Java I/O From the Command Line
Java I/O From the Command Line In this section we will learn about the I/O from the command line in Java. Several times you can see that the programs runs after taking the input from the command line. Java also supports for the command
Run PySpark script from command line
Run PySpark script from command line - Run Hello World Program from command...: name 'sc' is not defined error. Required code is: from pyspark import... (helloworld.py) in the bin directory of Spark and add following code: from
How To Read String From Command Line In Java
How To Read String From Command Line In Java In this section we will discuss... giving from the command line. Command line arguments are passed... demonstrates that how to take input from command line. Here in this example we
code for insert the value from jsp to access database
code for insert the value from jsp to access database  code for insert the value from jsp to access database
Please help me to modify my java code from php code
Modify Java code from PHP Code  i want to covert this php code int...]; } } I tried like this (see below JSP code) ... but this is not giving me the exact result as the above PHP code is giving. So please help me to convert
Please help me to modify my java code from php code
Please help me to modify my java code from php code  i want to covert this php code int java/JSP . if (isset($_POST['orders'])) { $orders...]); $array[] = $item[1]; } } I tried like this (see below JSP code
java code Translitrator from english to hindi
java code Translitrator from english to hindi  I need help to develop a java translitrator application that transforms english to hindi
code for selected checkbox columns data from database
code for selected checkbox columns data from database  in my page iam getting all column names of a particular table with checkboxes. when iam select... is the jsp code for this thanks in advance kalyani
Dropdown code to retrieve result from oracle database
Dropdown code to retrieve result from oracle database  Hi Friends, I... retrieve the result from Oracle database.We have procedures created already.Just... with code if possible.Oracle db.Using SQL developer,we manually execute queries
how to insert, retrieve data from,to db(code)....
how to insert, retrieve data from,to db(code)....  Hi..... i ve... that data will b stored in db(m using sybase). 2.also hw to retrieve the data from db. cn u plz tel me the code in detail.n i thk it shud b written in jdbc
How to Check Markup in PHP File from Command Line
How to Check Markup in PHP File from Command Line  Check Markup in PHP File from Command Line   PHP has a feature that allowed you to check... try this: http://www.phpzag.com/check-markup-in-php-file-from-command-line
how to insert, retrieve data from,to db(code)....
how to insert, retrieve data from,to db(code)....  Hi, i have created... will b stored in db(m using sybase). 2.also hw to retrieve the data from db. cn u plz tel me the code in detail.n i thk it shud b written in jdbc.....i ve
How to Checking Syntax Error in PHP from Command Line
How to Checking Syntax Error in PHP from Command Line  Checking Syntax Error in PHP from Command Line   PHP allows you to check your script... check this: http://www.phpzag.com/checking-syntax-error-in-php-from-command-line
How to extract the entire line with specific data from a Text in java?
How to extract the entire line with specific data from a Text in java?  Hi, i would like to extract data from text like the following one: [CODE... my prog? i know how to read specific line from text with the lineNumber
How can i read a file from nth line onwards in java
How can i read a file from nth line onwards in java  Hi, I need to read a file content from its nth line onwards till end. How can i implement it in java. Regards, Chinnu
Removing Line Termination Characters from a String
Removing Line Termination Characters from a String... of with program code which reads the string or text of a text file which is mentioned by the user and replacing all the new line character by the double quote
download xml file from website using java code
download xml file from website using java code  how to download xml file from website using java code
Read code from excel sheet and upload into database using JSP
Read code from excel sheet and upload into database using JSP  I want to upload data to database from an excel worksheet using jsp ...Please help
simple code to login user & authenticate it from database mysql
simple code to login user & authenticate it from database mysql  Sir, I am creating a login page which contain userid & password. Iwant to authenticate user from mysql database. please tell me the code for it. Thanks
Sending error code to access log of tomcat server from Action class
Sending error code to access log of tomcat server from Action class  How to send an error code (500) to access log file when we get null value in an if condition in Action class? Is anyone aware of this! Thanks
JAVA Code for Getting List of Directories and its SubDirectories from FTP server
JAVA Code for Getting List of Directories and its SubDirectories from FTP... directories and its files from "FTP" and want to show in Jtree but i am unable to do it.Please Give me some code and also explain it. Thanks** > Mayank Soni

Ads