Skip to main content

Bug Tracker

Side navigation

#11318 closed bug (invalid)

Opened February 10, 2012 12:25PM UTC

Closed February 10, 2012 12:26PM UTC

Dynamic link displaying "about" before link

Reported by: surjitdadhwal@gmail.com 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

Attachments (0)
Change History (1)

Changed February 10, 2012 12:26PM UTC by sindresorhus comment:1

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.