Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unable to get next form

 
madhuri kunchala
Ranch Hand
Posts: 350
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
in my application i m using Struts2..i had designed a form..in it i m using..by clicking 'Next' button it should open other page in the same form..i need that in another page..but im not getting.Here is the code can any one provide me the solution.

any help...its urgent
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is really an HTML/JavaScript question, so I'll move it there.

However, unless you're default to the "simple" Struts 2 theme, this won't even render valid HTML. You'd be much, much better off posting a Short, Self Contained, Correct, Example that demonstrates the problem and moving on from there. Right now it looks like *neither* div will be displayed, though.
 
madhuri kunchala
Ranch Hand
Posts: 350
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi David,
i need to hide the form fields..that means i want to display some fields in the form..if i click Next button then remaining fields should appear..but im not getting it..can you tell me how to do..and where the code goes wrong
 
madhuri kunchala
Ranch Hand
Posts: 350
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i had removed scripts..eventhough it is not getting hide..is there any method to do
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Step 1: Post an SSCCE representative of the HTML being rendered. NOT ALL OF IT. Just enough to show the problem.
Step 2: Post your current JavaScript.
 
madhuri kunchala
Ranch Hand
Posts: 350
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rendered html

javascript is
 
madhuri kunchala
Ranch Hand
Posts: 350
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i had changed my code as follows..eventhough im not getting.i used <s:submit> tag and used javascript but not getting

any help
 
madhuri kunchala
Ranch Hand
Posts: 350
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i had checked the code with normal jsp coding...it is working what i need..but when im using in struts2.im not getting..any help..its urgent
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic