Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Posting one selected option value in two forms

Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

C:\Program Files (x86)\Java\apache-tomcat-6.0.18\webapps\ROOT\WEB-INF\classes>ja
vac *.java cannot find symbol
symbol : variable deptId
location: class AppointmentMethods
deptId+"' target=mainFrame\">"+

The following code works but..

the problem is I need deptId in two places one to show date/time of the concerned dept in right corner mainFrame
and same deptId I need for post form to create new appointment by inserting data into db.

If I am doing like the following code....

then on deptId==>submit() it call post form.

How can I use deptId for both forms?

Best regards

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic