I've seen a couple of sites - myspace, photobucket, youtube, - that all somehow have the ability to save data without reloading the page.
ie. On youtube, when you leave a comment, it does not reload the page. In my experience, it isn't possible to do this, so what I"m asking is how is it done? Is there some new javascript technique that can actually submit data without reloading a page, or is there a command that can submit that on page unload or something like that.
Just curious.
------- I decided to be different from the rest of the world and be a smart ass.
3:48 pm on Feb. 15, 2008 | Joined: Mar. 2007 | Days Active: 197 Join to learn more about Echo oneUnited States | Posts: 178 | Points: 2,153
LiveWire Humor
Boss302
Connoisseur Patron
Who said you needed to re-load a page to upload data? D:
------- ....These go to 11.
3:50 pm on Feb. 15, 2008 | Joined: Aug. 2007 | Days Active: 216 Join to learn more about Boss302England, United Kingdom | StraightMale | Posts: 5,045 | Points: 7,856
Petchy
Connoisseur
It is done using Web 2.0 and new HTML techniques I believe.
Also JavaScript can be used?
------- Do you masturbate angrily? Furiously.
3:51 pm on Feb. 15, 2008 | Joined: Dec. 2007 | Days Active: 157 Join to learn more about PetchyEngland, United Kingdom | Label FreeMale | Posts: 4,807 | Points: 6,634
TeresaJ
Executive
i dont really worry abotu that kind of stuff.
------- Photographs of fun.
3:52 pm on Feb. 15, 2008 | Joined: Oct. 2007 | Days Active: 90 Join to learn more about TeresaJGeorgia, United States | StraightFemale | Posts: 2,066 | Points: 3,029
Who said you needed to re-load a page to upload data? D:
no one, I'm just not aware of any way using php or javascript to upload data do a database without reloading the page to execute a server side script.
------- I decided to be different from the rest of the world and be a smart ass.
7:07 pm on Feb. 15, 2008 | Joined: Mar. 2007 | Days Active: 197 Join to learn more about Echo oneUnited States | Posts: 178 | Points: 2,153
bighead1991
DOESTHISRANKANNOYYOUUUUUUUUUUU Patron Tech Support Leader
Research Ajax.
------- bam.
4:07 am on Feb. 16, 2008 | Joined: Feb. 2005 | Days Active: 1,262 Join to learn more about bighead1991England, United Kingdom | LesbianMale | Posts: 7,652 | Points: 37,290
RossTheHoss69
The Goddamn Batman. Patron Tech Support Leader
------- I'm not changing this line until I get a girlfriend. [7-08-07; 1:26 a.m.] Shït. Piss. Fück. Cünt. Cocksucker. Motherfücker. And Tits. R.I.P George Carlin.
8:24 am on Feb. 16, 2008 | Joined: Dec. 2005 | Days Active: 959 Join to learn more about RossTheHoss69Texas, United States | Male | Posts: 5,607 | Points: 30,482
( Echo one )
Dairy Product Addict
that is so cool. thanks.
------- I decided to be different from the rest of the world and be a smart ass.
1:54 pm on Feb. 16, 2008 | Joined: Mar. 2007 | Days Active: 197 Join to learn more about Echo oneUnited States | Posts: 178 | Points: 2,153