Bug Tracker

Opened 7 years ago

Closed 7 years ago

#11318 closed bug (invalid)

Dynamic link displaying "about" before link

Reported by: surjitdadhwal@… Owned by:
Priority: low Milestone: None
Component: misc Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

Hi,

I am using following code

function GetTreeNodeMouseHoverText(span, deptId) {
       // $(span).hover(function () {
            $('.dynamicitem').remove();
            //alert($(this).text());           
            var url = '<%= Page.ResolveUrl("~")%>' + 'DesktopDefault.aspx?<%= HRM.Common.Web.QueryString.VariableReplacer.TabAlias %>=EmployeeDbSearchResult&<%= HRM.Common.Web.QueryString.VariableReplacer.ResetSearchSettings %>=true&<%=HRM.Common.Web.QueryString.VariableReplacer.ListContext%>=employeelist&<%=HRM.Common.Web.QueryString.VariableReplacer.DepartmentId %>=' + deptId;
            var link = "<a href='" + url + "' class='dynamicitem' style='padding-left:4px;'><asp:Literal runat='server' id='Literal_View' Text='<%$ Resources:Database, common.view %>' /></a>";
            $(span).html($(span).text() + link);

            if ($(span).parent().attr("class") == "rtTop rtSelected" || $(span).parent().attr("class") == "rtTop rtSelected rtHover") {
                //alert('hi');
                $(span).find('a').css("color", "white");
            }
        //});
    }

{{{

}}}

it is showing me about:<LINK HERE> in status bar in runtime, I am not able to click on the dynamic link.

It works fine in FireFox

Change History (1)

comment:1 Changed 7 years ago by sindresorhus

Component: unfiledmisc
Priority: undecidedlow
Resolution: invalid
Status: newclosed

Thanks for taking the time to try to contribute to the jQuery project but this is not a valid bug. This bug tracker is not a support forum, and is only for solving reproducible, verifiable bugs with jQuery Core itself.

If you require assistance with your code, try asking in the forums, #jquery on Freenode, or on StackOverflow.

Note: See TracTickets for help on using tickets.