Jump to content
Xtreme .Net Talk

Double run code behind if table has attribute background="#00000"


Recommended Posts

Posted

To whom it may concern.

 

A few days ago I came across the following behavior.

 

If a html table element has the attribute background the code behind the page will be called twice.

 

I had inherited this page by another developer and striped it down until I came out with the following extract. Of course there is no attribute background for table an you can just ommit it. This will also stop the code from being called twice.

 

Hope this will save someone else valuable time. I looked for explanations on the web but could not find any.

 

regards

 

Karl Haak

http://www.karlhaak.de

 

 

 

<!doctype html public "-//w3c//dtd html 4.01 transitional//en">
<HTML>
<HEAD>
	<title id="lblMarketplace">eMarketplace</title>
</HEAD>
<body>
		<table background="#000000">
		</table>
</body>
</HTML>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...