|
| |||||||
![]() | Welcome to iWEBTOOL Talk, where you talk about
webmaster-related stuff.
1 Register
2 Browse the board
3 Discuss whatever may interest you! | |||||||||||||
![]() |
| | Thread Tools | Search this Thread | Display Modes |
| | #1 |
| Contributor Join Date: Jun 2006 Location: Denver
Posts: 4,459
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Okay, i was wondering if anyone knew of a way in PHP to refresh only part of the page. I want to be able to hit a button and only refresh one element of the page, not the whole page. Is this doable in PHP, or is that a client side task? |
| |
|
| |||||||
| | #2 |
| Retired Member Join Date: Dec 2005
Posts: 139
![]() | Client-side. Read up on rohan2kool's Web 2.0 (AJAX) Tutorial in the HTML & CSS board.
__________________ Retired Moderator/Member/Friend/Helper - it was great working with all of you! |
| |
| | #3 |
| Contributor Join Date: Jun 2006 Location: Denver
Posts: 4,459
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I have seen it before, but I was unable to locate it in css/html. Are you sure that's where it is at? |
| |
| | #4 |
| Retired Member Join Date: Dec 2005
Posts: 139
![]() | Oops, it's in PHP & MySQL. That's wierd... anyway, I moved it into HTML & CSS. Try looking there again. It's pinned at the top.
__________________ Retired Moderator/Member/Friend/Helper - it was great working with all of you! |
| |
| | #5 |
| Senior Member Join Date: Apr 2006 Location: London, UK
Posts: 262
![]() ![]() | Why would an AJAX tut be in an HTML and CSS forum? It's done using javascript and a server side language, Usually PHP..
__________________ |
| |
| | #6 |
| Senior Member Join Date: May 2006
Posts: 252
![]() | Don't use AJAX, use JavaScript. Depending upon what the project is, I would probably make an iframe and in JavaScript refresh the page when you want. I know HTML, CSS, JavaScript, PHP, MySQL, and little Apache. PHP cannot be used. Another option would be to do it using HTML tags in the <head> section of your document. Just make an iframe with the src="window.html". In window.html just make it refresh. This would be a way to do it without JavaScript.
__________________ Webmaster News and Daniel's blog can be found at Daniel Malone Free Webmaster Tools |
| |
| | #7 | ||
| Retired Member Join Date: Dec 2005
Posts: 139
![]() | Quote:
Quote:
It's the future of the web.Avoid using frames at all costs. Frames = evil IMO. You want AJAX coding for your goal.
__________________ Retired Moderator/Member/Friend/Helper - it was great working with all of you! | ||
| |
| | #8 |
| Senior Member Join Date: May 2006
Posts: 252
![]() | AJAX is the future, JavaScript is now! ![]() I guess AJAX is pretty good, I just haven't learned it yet...
__________________ Webmaster News and Daniel's blog can be found at Daniel Malone Free Webmaster Tools |
| |
| | #9 |
| Contributor Join Date: Jun 2006 Location: Denver
Posts: 4,459
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Okay, I checked it out xp, I don't think I'm ready for that yet....I need to get the other 4 languages down first. It looks good though, as soon as I get the other ones down, I'll be picking AJAX up and using it. |
| |
| | #10 |
| Newcomer Join Date: Jul 2006
Posts: 2
![]() | very easy library.. please check http://www.xajaxproject.org/
__________________ http://www.webkure.com http://www.cep2cep.com http://eng.cep2cep.com |
| |
| | #11 |
| Retired Member Join Date: Dec 2005
Posts: 139
![]() | Understand that AJAX is Javascript - it's just a method of CODING in Javascript.
__________________ Retired Moderator/Member/Friend/Helper - it was great working with all of you! |
| |
| | #12 |
| Contributor Join Date: Jun 2006 Location: Denver
Posts: 4,459
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I understand that, it's just, I'm barely getting into PHP, so I need to feel more comfortable with that before tackling java. |
| |
| | #13 |
| Retired Member Join Date: Dec 2005
Posts: 139
![]() | You mean tackling javaSCRIPT. Java is an entirely different programming language altogether.
__________________ Retired Moderator/Member/Friend/Helper - it was great working with all of you! |
| |
| | #14 |
| Contributor Join Date: Jun 2006 Location: Denver
Posts: 4,459
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Yeah, I mean javascript, I'm sorry, I knew that, just still new to everything. Java is a C like programming language, that can be compiled and ran. Where as javascript is a toned way down Java like scripting language, which is an interpereted language, like early BASIC. |
| |
| | #15 |
| Member Join Date: Dec 2005
Posts: 132
![]() | Java is not compiled. Java is compiled/interpeted. JavaScript is for making Browser-scripting ONLY. Java is for desktop programming and web-applets, servlets.
__________________ Eat healthy, Stay Fit, Die Anyway. --==-- If there is a man who knows everything about women, there is a Windows distribution without bugs. |
| |
(Threads which have no activity for more than 30 days are automatically closed.) |
| Quick Reply | ||
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|