I've been looking around on how to reload a section of a page on click without a refresh. What Im looking to do is have a comment posting system that uses that kind of system. Any of you got facebook (ofcourse you do), when you update your status it doesn't refresh the page it reloads the status section and you see your new post.
Looking around I see ajax is the way to go about this. I just wondered if anyone could show me or give pointers on how to do it, if anyone knows?
Any help will be much appreciated.
Thanks
Kenny
Help on how to reload a page without refresh? and then more?
Help on how to reload a page without refresh? and then more?
PHP/Python (amongst other things) Person - Big Fan of MVC Architecture. Love CakePHP and CodeIgniter.
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Help on how to reload a page without refresh? and then more?
ajax is definitely a good way. Look at iframes. I don't recommend using them per-say but things like iframes.
Re: Help on how to reload a page without refresh? and then more?
I wrote a tutorial on here explaining how to make a username validation with ajax. The tutorial should help you understand how ajax is put together.
http://indie-resource.com/forums/viewto ... =26&t=1074
http://indie-resource.com/forums/viewto ... =26&t=1074
Fighting for peace is declaring war on war. If you want peace be peaceful.
Re: Help on how to reload a page without refresh? and then more?
Sweet! Nice one, that has come in much handy, Thanks! I'll be experimenting with that and trying to adapt it to commenting
Kenny
Kenny
PHP/Python (amongst other things) Person - Big Fan of MVC Architecture. Love CakePHP and CodeIgniter.