This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stripes with Ajax.

 
pawan chopra
Ranch Hand
Posts: 417
jQuery Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have seen one ajax calculater example in Stripes examples. There is one Prototype JavaScript library. Can anyone let me know the significance of that library and do I need to import this library if I want to use Ajax with Stripes? Thanks in advance!
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Prototype library simplifies AJAX code, because using the XMLHttpRequest object directly is kind of a pain. Stripes doesn't care what client-side technology is used to make the AJAX calls, though - you can use whatever you like.
 
pawan chopra
Ranch Hand
Posts: 417
jQuery Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh ok...But Can you explain the purpose of so much coding which is implemented in prototype.js and can I use this for other examples? Or I will have make some changes in that?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prototype does a lot of things; see here for some details, particularly the "Introduction to AJAX" page (which is the part being used in this example). You do not have to change its code to use it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic