• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

please go through this

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi to all,


i am developing a page using jsp and in that i am using script language as javascript. in that page i i have four text boxes and 4 buttons and required records are getting from database using jsp

operations of buttons are "Insert","Update","Delete","Exit". by default it is in Insert Mode. now any one can insert after filling all the details and press "Insert" button. Upto here there is no problem for me. it is working very well.

when ever i want to update my records i am facing problems. inorder to update my details press "Update" button. when ever i press "Update" button it automatically

waiting for you people's replys

regards
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Umm....

I have no clue what in the world you are talking about or asking.

Eric
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

when ever i press "Update" button it automatically

waiting for you people's replys



I think there's something missing between these two sentences that explains what the problem is.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi , your i am not getting your problem exactly but i think your problem for changing mode when you click on insert button its work properly because your default mode is insert,so whenever you click on update button you have to change the mode like update using javascript and also provide the id for that particular record you want to update. And same as like delete so you getting your answer... do it and i think you have to repeat your questions very well so we ranchors can understand your problem very well and give you a best answer for that...

regards, sanju...
 
Narasimha Raju Naidu
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for your reply

i am clearly writing here, in my project there are 4 forms all are having same fields but on that same form there are four operations are there. they are namely "Insert(it is by default), Update, Delete and Select.

first i developed seperate forms for seperate operations, i worked on that and i understood that i am unnecessarily rewriting code. thats why i am planning to use same form for different operations. but here all operations are different, calling functions are different, different properties.

now my problem is how to change all those properties while pressing the relevent button.

this is myproject requirement. please guide me here.

regards
 
Time flies like an arrow. Fruit flies like a banana. Steve flies like a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic