• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing Struts form in javascript?

 
scott miles
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In struts say we define some form with the name TaskForm in struts-config.xml. In one of the javascript function i can see the statement document.TaskForm(some form name in struts-config.xml).action = action, my question here is how come we are able to excecute document.taskform at client side? i mean statements like document.getElementByid("") are defined in browser side but not sure about document.taskform?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!