untested, but this should change your image <img id="foo" src="image1.gif" onclick="changeMe(this)">
<script> function changeMe(obj) { obj.src = "image2.gif"; } </script> On Fri, Apr 1, 2011 at 10:49 PM, Rick T <rtuinenb...@gmail.com> wrote: > > I am not a JQuery pro to make something from scratch, any JQuery script > code out there that I can modify to meet my needs? > > > > > I would use jQuery (or javascript framework of your choice like dojo, > > mootools, etc). Have an image on your page. Attach an OnClick event > > to > > it. Inside the OnClick, do an ajax post to the remote server. On > > success, swap out the image with another image indicating success. On > > failure, probably swap out the image with another image indicating > > failure. > > > > Cheers, > > Judah > > > > On Fri, Apr 1, 2011 at 1:53 PM, Rick T <rtuinenb...@gmail.com> wrote: > > > > > > I am looking to put a image on a page, when you click it, it sends > > information to another site that records the data, then the image on > > the original page changes to a different image (to show it was > > recorded) > > > > > > Any direction will be helpful. > > > > > > > Thanks > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343484 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm