aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes on clicking a button  need the values to another page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "on clicking a button  need the values to another page" Watch "on clicking a button  need the values to another page" New topic
Author

on clicking a button need the values to another page

sai prasanna
Ranch Hand

Joined: May 02, 2005
Posts: 167
Hi All,
i have UI like(its in format of table)

Description client code Address sheet name graphlink
aaaa code 1 bangalore Click1(button)
abcd code 2 Hyd. Click2(button)

there is button on last on click of this button there is two function

1 it will open a new html page
2.it will put whatever the values are there in client code in session

i know setting a variable in session, but on click event i m confused and everytime on click it has to set the that client code which is in row(code1 for click1, code2 for click2) can anybody suggest javascript for this.

Thanks and Regards,
saiprasanna.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If you do a normal form submit, the name/value of the button you click will show up in the request parameters.

Eric
 
wood burning stoves
 
subject: on clicking a button need the values to another page