Subject: dynamic changing the image when a form get submit
Posted By: pandad Post Date: 1/4/2006 11:30:22 PM
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

Reply By: RahulSapkal Reply Date: 1/27/2006 3:05:29 PM
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/jrexamples/viewexample.jsp?id=111

Rahul

rahul@javareference.com
--------------------------
http://www.javareference.com

Go to topic 39246

Return to index page 384
Return to index page 383
Return to index page 382
Return to index page 381
Return to index page 380
Return to index page 379
Return to index page 378
Return to index page 377
Return to index page 376
Return to index page 375