Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

update only 5th incrementt value into databse  RSS feed

 
Shrikumar Vadivelu
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Report post to moderator
HI,

I have the TextField in my .jsp fine. Next to this i have "+" increment button. As soon as i click this "+" button, Text Field value will be incremented with the help of onClick() javascrit. For each increment, i am updating this increment value into database.

My Requirement is, i can click on "+" button, one time per socond. So, i can click 5 times, per 5 secs. So, value will be incermented in that text field form 0 to 5. (Think default value is 0 in that Text field). So, 5 will appear in the Text field after 5 clicks. But i wanted to update this value into database, only every afetr 5 secs. So, only that 5th Value should be updated into Database. Not an 1st, 2nd, 3rd & 4th Values.

So, how can i updated only 5th value into databse.
[ September 23, 2005: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66142
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please continue any discussion of this topic in your HTML forum post.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!