whenever i click on image it should be toggled to another image and also returns the x and y co-ordination values. simultaneously it should retrieve x,y pixel values and has to display the next image. I want to apply the same procedure for five images in a single JSP page. I tried with the below code i got only x and y values but image is not toggling.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
I have not asked about the security. I am providing password authentication by using images, I mean to say instead of giving text I can use images to authenticate a user. I know its not possible with JSP that's why i want use JavaScript but I am not getting the correct output.