On my Web page is a label that has the following attributes defined for it:
ProductPriceLabel.Attributes.Add("onmouseover", "TagToTip('" & DivID & "', BGCOLOR, 'White')")
ProductPriceLabel.Attributes.Add("onmouseout", "UnTip()")
The TagToTip JavaScript function takes a Div on this page and converts it to a tooltip for the label. In the code-behind for this page, in Page_Load and Not IsPostBack, I am creating the Div and adding it to the page controls.
Also on this page is an add to cart button. This button is part of a user control. If I comment out the TagToTip code, the page works fine. With this code uncommented, the page works fine and I can see the tooltip as I wish until I click the add to cart button. After that, I get an error message from the JavaScript function that the Div referenced above is no longer on the page. How do I make that code be generated with the page or stay wit ...
Go to the complete details ...