Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. <asp:DropDownList ID="ddlPUom" runat="server" CssClass="form-control input-sm"></asp:DropDownList>
  2.  
  3.  
  4.  
  5. <asp:Label ID="lblpuom" ccclass="col-xs-2 control-label" runat="server" Text=""></asp:Label>
  6.  
  7.  
  8. <script type="text/javascript">
  9. $('#ddlPUom').change(function () {
  10. alert("did this fire?");
  11. var lbltext = doc.getElementById("ddlPUom");
  12. var lblPUOM = doc.getElementById("lblpuom");
  13. lblPUOM.lbltext = lbltext.innerhtml;
  14. });
  15. </script>
  16.  
  17. <script type="text/javascript">
  18. $('#ddlPUom').change(function () {
  19. alert("did this fire?");
  20. var lbltext = doc.getElementById("<%=ddlPUom.ClientID%>");
  21. var lblPUOM = doc.getElementById("<%=lblpuom.ClientID%>");
  22. lblPUOM.lbltext = lbltext.innerhtml;
  23. });
  24. </script>
  25.  
  26. $(document).ready(function(){
  27. $('#<%=ddlPUom.ClientID%>').change(function () {
  28. alert("did this fire?");
  29. }
  30. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement