Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

how to refresh a particular portion

Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi JavaRanch

i have a jsp page where i have included some more jsp pages(all this stuff is managed by java script code i am using yahoo UI interface)

in my jsp page i have 5 user input forms(Ex. 1)Form for entering credit card details and 2) Form for entering shipping details e.t.c.) each form has a button. so When i click on any particular form only that particular portion has to be refreshed not the main page.

Can any one help me by providing the relavent code or advice.

Thanks in advance
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The two options I can think of are frames/iframes; one for each form and AJAX.
In either case the HTML/Javascript forum would be a better place for this question so I'll move it over there for you.
Posts: 15385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Ben said, if you do not want the whole thing to be refreshed you need to break the page up as frames/iframes or look into the world of Ajax.

    Bookmark Topic Watch Topic
  • New Topic