Re: RE: Ajax and PHP: XMLHTTP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>	

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux