0

I am receiving the following error in Dreamweaver CS6: "Invalid Markup, Duplicate Attribute". I have an image that onClick runs a function and swaps an image as well. It's doing both, however Dreamweaver is squawking. Does this have to be written another way?

<input type="image" onClick="javascript:displayPlace()" onMouseOver="MM_swapImage ('Search','','SearchByPlace.jpg',1)" onMouseOut="MM_swapImgRestore()" src="Glass- Place.jpg"src="Glass-Place.jpg" alt="Place" align="middle" width="160" height="151">
4

1 に答える 1

4

あなたが持っているsrc="Glass- Place.jpg"src="Glass-Place.jpg"のでsrc、そこに2回あります。

また、値が異なります(最初の値の余分なスペース)。

于 2013-01-11T17:02:42.710 に答える