Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 5th, 2006, 12:30 AM
Registered User
 
Join Date: Jan 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default dynamic changing the image when a form get submit

i have two form
1.one is for submitted value to DB
2.2nd form contain link for more then one form with an image adjecent to every form
its better if i name 2 form
1.master.jsp
2.accept.jsp
the master.jsp's value are going to store in db
the accept.jsp have the link to master.jsp with links to some other page.a image is placed adlcent to every link.
the default image for the master.jsp in accept.jsp is a cross mark,
when the master.jsp store in to DB the cross mark should change to a tick mark
HOW SHOULD I DO THIS USING JAVASCRIPT

 
Old January 27th, 2006, 04:05 PM
Authorized User
 
Join Date: Aug 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can use AJAX to do this if appropiate.

Here is the example,

Implementing simple AJAX interaction in your Web Application using XMLHttpRequest object : http://www.javareference.com/jrexamp...ple.jsp?id=111

Rahul

[email protected]
--------------------------
http://www.javareference.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Document Image Processing (DIP) - changing image f ALcom Access 0 March 27th, 2006 06:10 AM
Dynamic Insert without Submit button key value jfergy Classic ASP Databases 9 January 17th, 2006 01:49 PM
dynamic changing of image pandad BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 0 January 5th, 2006 12:55 AM
How can we submit a form without a submit butto phpsharma BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 4 October 20th, 2003 08:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.