Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ajax implementation

 
Swosti Dipan Pal
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have designed a page using Ajax. It shows a few records (6) with a more link. These records are fetched from the SAP. Is it possible to show up all the reocrds by clicking on more link without refreshing the page ?

e.g AX, BX, CX , DX, EX, FX .... More >>>

clicking on more displays all the records. Is it possible to show up without refreshing the page ?

Cheers,
-Biswa
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are refreshing the page, why use Ajax? The whole point of Ajax is to fetch data from the server without a page refresh.
 
Pavan Keely
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Biswamohan,

It is possible and that's the main intention of using Ajax.

When user clicks on "More", get the data using XHR and update the results section of the page dynamically using DOM or innerHTML.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When Pavan wrote XHR he meant XmlHttpRequest.

Please don't use abbreviations that could be confusing to the uninitiated.
[ July 12, 2006: Message edited by: Bear Bibeault ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic