This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

forward same page without refreshing

 
anvi kon
Ranch Hand
Posts: 133
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have two buttons save and finish.

I want to enable the button finish whenever I click the save button.

page1.jsp.

<script>
InitialLoad()
{
document.getElementById('finish').disabled = true;

}

save(){
document.getElementById('finish').disabled = false;
}
</script>



strutsconfig.xml
<forward name="success" path="atre.dodUpgrade.show.page1"/>



Using the above I can enable it temporarly. But whenever I call the forward page it on action class





The Problem is page Refresh again and it shows disabled button for finish.

what could be the solution for this?

Thanks



 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic