 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
joshi_pri
Joined: 20 Apr 2009
Posts: 1
|
| Posted: Mon Apr 20, 2009 2:16 am xhtml strict target attribute. |
|
|
<!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 method="get" target="_self">
<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>
above is my hmtl code which uses php file to display image. I can display image, but since it xhtml strict
I am getting error when i validate it that target attribute is not valid
. Is there any other way.
Thanks |
|
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Mon Apr 20, 2009 3:30 am |
|
|
How to Make a Link Open into a New Window will give you a some JavaScript code to add.
But I would be amiss if I did not let you know that frames are problematic and really is not a good reason to use them today.
_________________
Corey
Toll Free Solutions | Mile High Merchant Accounts | Expression Web Blog |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|