Page 1 of 1

jquery button toggle

Posted: Mon Aug 25, 2008 11:09 pm
by GeXus
Does anyone know of a script out there that is basically a button, that can act as a switch, such as if you click it the image changes to "ON" and does an ajax call, or if you click it again, it goes to "OFF" and does another ajax call?

Re: jquery button toggle

Posted: Tue Aug 26, 2008 12:12 am
by it2051229
yup.. you can do that if you know how xml http request work or active object.. without even using jquery