<div>자바 스크립트 이벤트 핸들러에 대해서 질문 합니다.</div> <div>혼자 공부 하다가 막히는 부분이 있는대요.</div> <div><br></div> <div>제대로 코딩을 했다면, "register now" 텍스트를 클릭 하면 "register now" 텍스트가 사라지고 바로 밑에 로그인 폼이</div> <div><b>Username:</b></div> <div><b>[텍스트 박스]</b></div> <div><b>Password:</b></div> <div><b>[텍스트 박스]</b></div> <div><b>Verify Password:</b></div> <div><b>[텍스트 박스] </b></div> <div><b>save cancel</b></div> <div><br></div> <div>이렇게 로그인 폼이 생겨야 합니다. 아무리 머리를 쥐어짜도 어떻게 해야 하는지 감이 안오네요 ㅠㅠ</div> <div><br></div> <div><br></div> <div><%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="SuperSite.Login" %></div> <div><br></div> <div><!DOCTYPE html></div> <div><br></div> <div><html xmlns="<a target="_blank" href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>"></div> <div><head runat="server"></div> <div> <title>SuperSite</title></div> <div> <link href="Styles/Login.css" rel="Stylesheet" /></div> <div> <style type="text/css"></div> <div> .auto-style1 {</div> <div> width: 100%;</div> <div> }</div> <div> </style></div> <div></head></div> <div><body></div> <div> <form id="form1" runat="server"></div> <div> <div class="auto-style1"></div> <div> </div> <div> <strong>SuperSite</strong></div></div> <div> <br /></div> <div> <br /></div> <div> <div>Already a registered SuperSite user? Sign in with one of the following services</div></div> <div> <br /></div> <div> <a href="<a target="_blank" href="http://facebook.com">http://facebook.com</a>"><asp:Image ID="Image5" runat="server" Height="114px" ImageUrl="~/Images/FacebookGray.png" Width="141px" /></a></div> <div> <a href="<a target="_blank" href="http://google.com">http://google.com</a>"><asp:Image ID="Image2" runat="server" Height="114px" ImageUrl="~/Images/GoogleGray.png" Width="141px" /></a></div> <div> <a href="<a target="_blank" href="http://login.live.com">http://login.live.com</a>"><asp:Image ID="Image3" runat="server" Height="114px" ImageUrl="~/Images/WinLiveGray.png" Width="141px" /></a></div> <div> <a href="<a target="_blank" href="http://yahoo.com">http://yahoo.com</a>"><asp:Image ID="Image4" runat="server" Height="114px" ImageUrl="~/Images/YahooGray.png" Width="141px" /></a></div> <div> <br /></div> <div> <br /></div> <div> <br /></div> <div> <p><strong>sign in with your SuperSite username and password</strong></p></div> <div> <p><strong>add another authentication service from the list above</strong></p></div> <div> <p><strong>change your SuperSite password</strong></p></div> <div> <br /></div> <div> <p>If you haven't already registered with SuperSite</p></div> <div> <button onclick="myFunction()">register now</button></div> <div> <br /></div> <div> <br /></div> <div> <p id="myRegister"></div> <div> Username: <br /></div> <div> <asp:TextBox ID="Username" runat="server" /> <br /></div> <div> Password: <br /></div> <div> <asp:TextBox ID="Password" runat="server" /> <br /></div> <div> Verify Password: <br /></div> <div> <asp:TextBox ID="VerifyPassword" runat="server"></asp:TextBox> <br /></div> <div> Fisnish your registration by signing in <br /></div> <div> with one of the services above or save <br /></div> <div> your registration directly.</div> <div> </p></div> <div> </div> <div> <span style="font-size:9pt;line-height:1.5;"><p id="demo"></span></div> <div> </div> <div> <script></div> <div> function myFunction() {</div> <div> var x = document.getElementById("myRegister").innerHTML;</div> <div> document.getElementById("demo").innerHTML = x;</div> <div> }</div> <div> </script></div> <div> <br /></div> <div> </form><span style="font-size:9pt;line-height:1.5;"> </span></div> <div></body></div> <div></html></div>