Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Java Pass-value-example Java Pass Value Example

Related Tutorials


 
 

Share on Google+Share on Google+

Java Pass Value Example

Advertisement
We can also pass the value from a JSP page to the java script as we have done in our previous

Java Pass Value Example

     

  1. Pass value from JSP to JavaScript
    We can also pass the value from a JSP page to the java script as we have done in our previous example of passing values to the java script from the HTML page. Since in JSP page we can embed HTML tags as well. 
     
  2. Pass value from child to parent window
    We can pass values from a child window in Html to the parent window. This can be done very easily. Here is the program that takes the value from the child window and then pass it to the parent window.
      
  3. Pass values from form to form
    There are many occasions when the programmer need to pass some value to many pages in their application. For example in a shopping cart application programmer wants that if user have logged once then until it logs out his name should be displayed on the other page of the application.  So it is most frequently used in to the different applications.
     
  4. Pass value from iframe to parent
    iframe creates an inline frame in which we can put another page. We can pass values from iframe to the parent page with the use of java script. 
      
  5. Example program to pass value from Html to java script
    We can also pass the values from html code to java script easily. To show this we have created an example Html page which will pass the value to the java script function and this value will be shown with the java script's alert() method. 
Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 18, 2008

Related Tutorials

Discuss: Java Pass Value Example   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:11
anitha
July 5, 2011
write a program

to get the input value principle date of interest and number of years from the keybord and find simple interest
Suraj Tripathi
September 4, 2011
java

i want to learn java
KIBIRIGE TIMIOTHY
October 27, 2011
java notes

teach me more how to write aprograame in java pliz send them to mi e maill i will be happy if am answered thanks
hemant
November 23, 2011
java

i like
divya
April 17, 2012
core java

need more exampes from core java
jeet jaison
June 19, 2012
java

my problem in java is that i cannot undedstand it
praveenkumar
July 24, 2012
core java,java ee,java mse

i wann the pdf of above mention subject
Deliverance
June 15, 2013
BPhpIuxWdDuH

Deep thought! Thanks for contirbuitng.
lakshmi nyamagoudra
June 30, 2013
java programs

still more java programs
DMCA.com