Jump to content


Javascript and PHP


2 replies to this topic

#1 Slightly Wonky Robob

    Not a Wonky Gent.

  • Administrator
  • 9333 posts

Posted 02 March 2008 - 23:42

While i am aware that you can't just start adding php to a site using a javascript, there must be some sort of method of sending and receiving data without having to refresh the page. For example, this very forum, when you use the quick edit function, a textarea appears, then you can hit the edit button (too lazy to find out what it actually says, so that may be wrong) and the data is sent off without having to refresh the page.

Is this done with javascript? How is it done? Can data also be received/retrieved using this method?

Help, as usual, will be much appreciated :P
Posted Image
F O R T H E N S
Posted Image

#2 CodeCat

    It's a trap!

  • Gold Member
  • 6111 posts

Posted 02 March 2008 - 23:44

http://en.wikipedia.org/wiki/AJAX
CodeCat

Posted Image
Posted Image

Go dtiomsaítear do chód gan earráidí, is go gcríochnaítear do chláir go réidh. -Old Irish proverb

#3 Slightly Wonky Robob

    Not a Wonky Gent.

  • Administrator
  • 9333 posts

Posted 03 March 2008 - 00:01

I'd often wondered what AJAX was, since i'd seen it referenced to when searching for JS stuff... guess its another set of functions to learn D:
Posted Image
F O R T H E N S
Posted Image



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users