Following is my code for displaying image. I can see images which uses php file ,but it open in new window.
Since i have to use xhtml strict i cant use frame or iframe
How can i display image in same window, so when i change option from dropdown i can view image and dropdownbox.
thanks
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<form action="showPictures.php" method="get">
<fieldset>
<select size="1" name="dropdown">
<option value="nothing" selected="selected"> </option>
<option value="1">Image1</option>
<option value="2">Image2</option>
<option value="3">Image3</option>
</select>
<input type="submit" value="Show" name="Submit" />
</fieldset>
</form>
</body>
</html>