Re: RE: Ajax and PHP: XMLHTTP

From: Date: Mon, 11 Sep 2006 19:33:56 +0000
Subject: Re: RE: Ajax and PHP: XMLHTTP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-241622@lists.php.net to get a copy of this message
Hi all, thanks for responses, I appreciate it. :) Miguel Guirao wrote:
What do you exactly want to do?
Oh, I wanted to call a php function on my page that changes some CSS. I was hoping I could change my CSS on the fly without having to reload page... but after doing more research, I think that a page refresh is best way to go. All the Ajax/PHP examples i have seen deal with elements on page (in this case i have PHP script in head that changes my css)... Still new to "Ajax" and XMLHTTP... I know how to handle JS, but I am way more comfortable with PHP. Not too many examps on the web that show some good techniques for calling PHP functions to manipulate CSS that I could find. I am also not a big fan of plugging-in a huge Ajax scripting library(ies) for something as simple as calling a PHP script to manipulate CSS. I would prefer simple on the JS end of things and make it more about PHP without a page refresh. :D Lol, hope that makes sense... In a bit of a rush - headed out door to work. :) You guys are right though, I should probably ask on the JS listserv. Many thanks for your time. Cheers, Micky -- Wishlist: <http://snipurl.com/vrs9> Switch: <http://browsehappy.com/> BCC?: <http://snipurl.com/w6f8> My: <http://del.icio.us/mhulse>

« previous php.general (#241622) next »