Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2006-11-13 : 00:21:22
|
Pb: myDiv.style["display"]="none"; gives me an error while using a div in a User Control: Syntax error Hi I have this part of my ascx user control that gives me a client side error : Syntax error<DIV id="dvRecurant"><asp:textbox id="txtFoisRecurant" tabIndex="7" runat="server" Height="20px"></asp:textbox></DIV> </td> <TD><script language="javascript"><dvRecurant.style["display"]="none"></script>When I put a comma like this: "><dvRecurant.style["display"]="none";> I also get an error: Syntax errorI think that code works well when inside an aspx regular pag, but when in a User control ascx i get an error: Syntax error |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2006-11-13 : 01:17:43
|
You think? Have you actually tried?Peter LarssonHelsingborg, Sweden |
 |
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2006-11-13 : 04:26:05
|
this is wrong on so many levels document.getElementByID("dvRecurant").style.display = "none";Go with the flow & have fun! Else fight the flow blog thingie: http://weblogs.sqlteam.com/mladenp |
 |
|
|
|
|