Click here to Skip to main content
15,893,381 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionRe: Javascript chalange Pin
Harpreet05Kaur26-Sep-16 1:52
Harpreet05Kaur26-Sep-16 1:52 
QuestionAnswer Pin
Member 1269199818-Aug-16 6:28
Member 1269199818-Aug-16 6:28 
AnswerQuestion Pin
Richard Deeming18-Aug-16 7:27
mveRichard Deeming18-Aug-16 7:27 
Questionjavacript alert message Pin
classy_dog17-Aug-16 8:22
classy_dog17-Aug-16 8:22 
AnswerRe: javacript alert message Pin
Richard MacCutchan18-Aug-16 2:30
mveRichard MacCutchan18-Aug-16 2:30 
AnswerRe: javacript alert message Pin
Karthik_Mahalingam20-Aug-16 18:16
professionalKarthik_Mahalingam20-Aug-16 18:16 
AnswerRe: javacript alert message Pin
Harpreet05Kaur26-Sep-16 1:54
Harpreet05Kaur26-Sep-16 1:54 
QuestionOnmouseover javascript 'JavaScript runtime error: 'LabelHover' is undefined' Pin
Bootzilla3317-Aug-16 7:27
Bootzilla3317-Aug-16 7:27 
Can someone assist me on how to do a mouse over on a hyperlink that shows what the user selected on the page they just left or saved. For example, the user clicks a link that says 'Add' and it opens a popup window where they select a list of items that have checkboxes, they check the items they want and then they click save to close the popup and they return to the original page. The user then hovers over another link that says 'Edit' and it shows them what they selected on the popup page. Can this be done and if so how?

I tried using LabelHover function but I get a LabelHover() is error. Here is my code. What do I need to do to get rid of this error. This is on the page that has the link to the popup page.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="NASA_LoD_Phase_1.WebForm3" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    

    <title><script language="javascript" type="text/javascript">
              
               function LabelHover() {
                   
                   var text = "event";
                  
                   document.getElementById("EditHyperLink").innerHTML = text;
                   
               }
               
    </script>
</title>
    <style type="text/css">

        .auto-style1 {
            width: 100%;
        }
        .auto-style2 {
            text-align: left;
        }
        .auto-style4 {
            text-align: right;
        }
    </style>
     
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table class="auto-style1">
            <tr>
                <td class="auto-style2" colspan="2">
                    <asp:Label ID="lblProgram" runat="server" Text="Program:" style="text-align: left"></asp:Label>
                     <asp:HyperLink ID="AddHyperLink" runat="server" 
            NavigateUrl="javascript:var w=window.open('addprogramcode.aspx','','width=640,height=450');" 
            CssClass="style19" ForeColor="#A90D39">Add Program Code</asp:HyperLink>  <asp:HyperLink ID="EditHyperLink" onmouseover="LabelHover()"  runat="server" 
            NavigateUrl="javascript:var w=window.open('serviceset.aspx','','width=640,height=450');" 
            CssClass="style19" ForeColor="#A90D39">Edit</asp:HyperLink>  <asp:HyperLink ID="DeleteHyperLink" runat="server" 
            NavigateUrl="javascript:var w=window.open('newdonors.aspx','','width=640,height=450');" 
            CssClass="style19" ForeColor="#A90D39">Delete</asp:HyperLink>
                   
                    <br />
                    <asp:DropDownList ID="DropDownList1" runat="server" Width="400px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="auto-style7">
                <asp:Button ID="BackButton" runat="server" OnClick="Button2_Click" Text="Back" />
                    </td>
                <td class="auto-style4" rowspan="2">
                <asp:Button ID="NextButton" runat="server" Text="Next" OnClick="SearchButton_Click" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

AnswerRe: Onmouseover javascript 'JavaScript runtime error: 'LabelHover' is undefined' Pin
Karthik_Mahalingam20-Aug-16 18:21
professionalKarthik_Mahalingam20-Aug-16 18:21 
QuestionMath question using JQuery and Javascript with a horizontal sliding row Pin
jkirkerx12-Aug-16 10:08
professionaljkirkerx12-Aug-16 10:08 
AnswerIt's closer now, needs refinement Pin
jkirkerx14-Aug-16 10:26
professionaljkirkerx14-Aug-16 10:26 
QuestionMeasuring how many li are in a ul that are visible in a horizontal sliding row of items Pin
jkirkerx11-Aug-16 8:38
professionaljkirkerx11-Aug-16 8:38 
AnswerRe: Measuring how many li are in a ul that are visible in a horizontal sliding row of items Pin
jkirkerx11-Aug-16 11:14
professionaljkirkerx11-Aug-16 11:14 
AnswerRe: Measuring how many li are in a ul that are visible in a horizontal sliding row of items Pin
Nathan Minier12-Aug-16 1:39
professionalNathan Minier12-Aug-16 1:39 
GeneralRe: Measuring how many li are in a ul that are visible in a horizontal sliding row of items Pin
jkirkerx12-Aug-16 6:44
professionaljkirkerx12-Aug-16 6:44 
QuestionHow to create array from existing array Pin
Member 126783159-Aug-16 17:00
Member 126783159-Aug-16 17:00 
AnswerRe: How to create array from existing array Pin
Richard MacCutchan9-Aug-16 21:06
mveRichard MacCutchan9-Aug-16 21:06 
AnswerRe: How to create array from existing array Pin
Karthik_Mahalingam20-Aug-16 18:26
professionalKarthik_Mahalingam20-Aug-16 18:26 
QuestionJS Object Remove Duplicates Pin
Member 126766088-Aug-16 19:49
Member 126766088-Aug-16 19:49 
AnswerRe: JS Object Remove Duplicates Pin
W Balboos, GHB9-Aug-16 5:06
W Balboos, GHB9-Aug-16 5:06 
AnswerRe: JS Object Remove Duplicates Pin
Beginner Luck14-Aug-16 19:59
professionalBeginner Luck14-Aug-16 19:59 
QuestionAdd query columns to output (see code) Pin
Stavros McGillicuddy7-Aug-16 11:15
Stavros McGillicuddy7-Aug-16 11:15 
AnswerRe: Add query columns to output (see code) Pin
Nathan Minier8-Aug-16 1:30
professionalNathan Minier8-Aug-16 1:30 
QuestionUnexpected Identifier error Pin
Stavros McGillicuddy6-Aug-16 11:02
Stavros McGillicuddy6-Aug-16 11:02 
QuestionRe: Unexpected Identifier error Pin
Richard Deeming8-Aug-16 1:38
mveRichard Deeming8-Aug-16 1:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.