Onclick of anchor tag inside the search suggestions div not working in Control_SearchBox display template

Hi,
I have added an anchor tag highlighted below in the Suggestion section of Control_SearchBox display template.The requirement is to display an anchor tag inside the div which displays suggestions and redirect the anchor tag to a predefined URL value.The problem
here is the onclick of the anchor tag is not getting redirected to the href value.
Can anyone help me out with this?
<!--#_
            if (showQuerySuggestions) {
_#-->
<div ms-shadow" id="AutoCompContainer">
<div id="_#= $htmlEncode(suggestionsListId) =#_">                  
</div>
<a  target="_blank" id="test" title="testing" href="http://www.google.com">Suggestions</a>                
</div>
<!--#_
Thanks,
Saranya

This one had me pulling my hair out. For someone's future reference, I may have found a solution via google, using this page:
http://www.ejeliot.com/blog/59. I added an empty div below my floated child divs and added clear:both
to it. I think I may be okay on this issue now.

Similar Messages

  • The search bookmarks does not work,it freeses up after one letter

    a week ago the search bookmarks feature quit working, it lets you type maby 1 or two letters then freeses up. message says this program is not working and to quit and send a report,then i have to start firefox up again..help please

    There have been such problems reported after updating to Firefox 3.6.12 and they may be caused by updating SQLite to version 3.7.1
    See [/questions/759909]

  • I have iphone 4S. when i make personal hotspot and say a device is connected, blue bar at top shows status of connection. in this situation if i want to find contact through direcctory, the search option is not work. anybody suggest how to resolve it ..?

    while on personal hotspot, searching a contact is not work. can anybody has solution ..

    Complain to the Attorney General about what? There is nothing in your story worth any such complaint. They will tell you the same.
    First you have payment difficulty so credit and the Edge program are not available to you. You have to be credit worthy to get any upgrade, unless you can pay full price for all those new devices.
    Can you?
    You are trying to get new contract plans, but since you are having paying on time and in full issues you will not get extended credit from any carrier.
    What I would do is go and port out to Boost or Virgin Mobile where you pay a reduced cost for each device and get unlimited everything for $40 to $50 a month, it is pre pay so if you don't pay you get cut off.
    Verizon although with the best coverage is also the highest priced.
    Good Luck

  • Anchor tag passing "this" as a parameter not working

    i have an anchor tag that is calling a javascript function passing in the parameter 'this'. it seems that 'this' is undefined and not the anchor object, why is this? how do i pass the anchor object in a similar way to using 'this'?
    this is my code i am using
    href="javascript:show_region(this);
    whatever i do to the passed in object it says it is undefined

    managed to get it working by using onclick instead of href

  • Google search suggestion does not work

    I have Google set as my default search engine in the upper right hand corner. Until today when I start typing it automatically gives suggestions. Now this feature does not work on my laptop which uses Windows XP. However, it works on my desktop PC using Windows XP just fine. If I go to google.com and start typing in the search bar the web site offers suggestions. Therefore I feel the problem has something to do with Firefox 3.6.8

    I use Firefox on mt mac. The toolbar search boxes stopped working with the latest upgrade to version 3.6.8

  • Searching a pdf file including both latin caracters and other (HERE: greek) . Entering words in English works but entering greek words the search function does not work

    in a serachable dictionnary ( old greek-English) in pdf format the search function works when entering English words but not when entering greek words using the polytonic Greek keyboard from Windows. Why ? Is there a solution to search for Greek words ?

    Try a copy/paste some of the Greek text out into Word. Does it display as expected in Word?

  • I am getting "Connection was reset" when trying to load any of the "My Yahoo" pages. Other sites appear to work, and trying the FAQ suggestions did not work

    When I tried to log into my my.yahoo.com page, entering my user ID and password, I got the following error message:
    '''The connection was reset
    The connection to the server was reset while the page was loading."
    I am able to open the same page in Windows Explore 6.0 and 8.0, and when using Firefox on a different machine
    Also, last week, everything worked just fine.
    So it appears that something must have happened to the
    configuration on this machine.
    Any help would be appreciated.
    Thanx,
    -Craig Lang

    I am not familiar with the process involved with the link I am providing so please accept my apology if it is a repeat of something you have already tried...
    How do I prevent Creative Cloud from taking over my CS6 perpetual license?
    https://forums.adobe.com/thread/1584746

  • My search function does not work. How can I fix it?

    Hello
    I need help I just bough a macbook 13 inch, with snow leopard
    and the search function does not work.
    The window opens but when I write the name i searh it gives me no results.
    How can i fix it?
    Do i need really to re install all snow leopard?
    thanks
    pt

    Hello paola t & welcome to the forums
    I need help I just bough a macbook 13 inch
    It may be that Spotlight hasn't completed indexing just yet - is there a dot (indicates busy) inside the magnifying icon top right?
    Also, check System Preferences/Spotlight to see what if any exclusions are configured, etc.

  • TOC, Search, Index does not work after hosting published files in Multiscreen HTML5

    I have generated and published the files for multiscreen html5. The default screen layout is Desktop_layout. When I access index.htm directly from the published location, every function and all details work beautifully. However, once I host the published files in IIS, and type the URL in Google Chrome, the screen layout is all messed up. TOC, Index, Glossary and the Search function does not work. Please help/suggest/guide.

    Could this be related to IIS? I host it locally on IIS (8.0 on Windows 8.1 Pro) and on Apache without any problems. But IIS can give trouble if the folder security options are not set correctly, so please make sure the IIS User has full read rights on all directories and files.
    Kind regards,
    Willam

  • Mail search function does not work after reinstalling

    Hello!
    I recently had to re-install Leopard on my MacBook Pro.
    I made a clean install so, I manually copied the Mail folder and preferences from my old home folder to the new one.
    All mails are present, and everything works great, apart from the fact that the search function does not work.
    I can search for new mails (that came after the reinstall) but the old ones "dont exist" as far as the mail.app goes.
    What can I do about it ?

    It would probably be easier to do the entire hard drive. The App Store also uses Spotlight, so updating it will help there also. It takes some time to re-index and your computer will/may run slower until it is done.
    Direct answer to your question is go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder. Then go to System Preferences/Spotlight per the linked article and in your user folder, select Library/Mail/V2.
    Thanks to leonie for some information contained in this.

  • Firefox 5 search bar does not work.

    I have downloaded firefox 5 and the search feature does not work.

    See:
    * http://kb.mozillazine.org/Unable_to_search_or_add_new_engines

  • The search function in the itunes store does not work.  It will accept a request and suggest searches but then it locks up and will not search.  Clicking on the magnifying glass or a suggested search does nothing.  Re-installing itunes has not helped.

    The search function in the itunes store does not work.  It will accept a request and suggest searches but then it locks up and will not search.  Clicking on the magnifying glass or a suggested search does nothing.  Re-installing itunes has not helped.

    everything you stated here is exactly what i have done and have got nowhere. i have windows 7 64 bit on a hp 8 g of ram desktop. im also looking for help

  • How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

  • Why would someone use the meta utf-8 tag inside the script tag?

    I have run into a number of sites that use the <meta utf-8> tag inside the <script> tag what is the use of it.
    How dose one write the utf-8 inside the script tag?

    csteinola wrote:
    > If I CFINCLUDE that cache file, the characters come out
    munged (non-utf-8
    > encoded).
    try prepending a <cfprocessingdirective
    pageencoding="utf-8"> to the file.

  • The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component 'GUID′ in search application 'Search Service Application' is in a good state and try again.

    Another post with a well-known title. Believe me, I know. Here's my setup;
    - 1 Server 2012 WFE, SharePoint Server 2013, totally up-to-date, including the september 2014 hotfix
    - 1 Server 2012 DB, SQL Server 2012
    Installed SP 2013 using PowerShell, with the AutoSPinstaller. Worked like a charm. Got everything up and running, with some tweaking here and there to customize it to fit my situation. Now, I can't get the Search Service Application to work. Must have created,
    deleted and recreated it at least 30 times. Used both PowerShell scripts, PowerShell line-by-line, Central Admin, heck, I even went so far as to use the configuration wizzard... No luck. I keep on getting the message that search cannot connect to the machine
    that hosts the 'administration component'.
    In order to avoid answers that suggest all the things I've already tried, here's a summary of the various scenarios I followed:
    Tried both a dedicated application pool as well as the SharePoint Web Services Default
    Timer job job-application-server-admin-service is running and not showing errors
    IIS 8.0 is installed, so is .NET 4.5 (not the known perp of IIS 7.5 and .NET 4.0)
    the get-SPEnterpriseSearchServiceInstance -local returns a healthy, online state
    the SPEnterpriseSearchQueryAndSiteSettingsServiceInstance is also running
    FireWall is disabled; registry has the BackConnectionHostNames modified with the necessary FQDNs
    Accounts used to install and / or run the serviceapp all have sufficient rights - tried a dedicated managed account, SP_2013_SearchSvc, the SP admin account, and even the original Farm account; all to no avail, I keep on getting the error message.
    Even tried stsadm to start the server search running - NOTHING WORKS!!!
    As you might understand, this is driving me nuts. About to miss my second deadline, and no amount of IISresetting is making this go away. Been stuck on this issue for far too long, now (my searching is measured in days and weeks instead of hours, by now).
    Whoever helps me solve this - you will have my eternal gratitude, and a nice bottle of Prosecco. Or whatever's your poison. You need to come get it, though. I´m situated in the Netherlands. Hey, you always meant to visit Amsterdam and see for yourself, right?
    Thanks, community, for coming to my rescue!

    Thanks again - Alas, I've been there. Deleted Search a dozen times, at least, and tried installing it, initially using a PowerShell script (tried several scripts actually, from full-blown total Search Applications with extensive topologies to the most basic
    of basics 'please just start without showing me errors'), PowerShell line-by-line to see where things went South, next tried installing through Central Admin (hoping that it was my own stupidity in overlooking things and hoping The System would get it right
    for me), and eventually even tried using the config wizzard as a total and utter last resort - Nothing worked.
    At first, I found out that removing a Service App needs a *little* bit more work than simply removing it through Central Admin, but by now I can truthfully state that if there's one thing I've become supergood at, it's removing Search Service Applications.Totally.
    I will check out the article, though - I realized early on in my SharePoint experience that regardless of what you think you know, there's so much more to find out. I know, that's almost philosophical. That is, my friends, indeed the point I've reached...

Maybe you are looking for

  • Why can't I use my iMessage on my iPod touch?, Why can't I use my iMessage on my iPod touch?

    I need help with at I can't use my iMessage with my iPod touch it won't let me . Can you please help me fix this?

  • JUnit, where to put my unit test

    Hi all, I have a question regarding unit test. I am working on a project which has multiple packages. I need to unit test every package using JUnit. One question I have is where to put my unit test. The options are: 1. Write unit test as a separate p

  • The way how field exit gets called??????

    Hi ALL, Can any guru tell me how exactally the field exit works. Senario- I have created field exit on Data element WERKS_EXT for user validation on plant level for T-code VA01. Issue- I don't have proper user details in Dev. system to test this thin

  • Oracle support table w/HACMP on RS/6000

    There use to a be a table that we could reference for versions of Oracle supported with versions of HACMP. What happened to it? It used to be: http://www.oracle.com/ibm/rs6000/html/rs6matrix.html#rdbms Any ideas?

  • AII Device Master Data

    How do I put the entries of SAP AII Master Data for Device Controllers, Device Groups and Devices? Is it that this data is automatically available when RFID devices get connected to SAP AII? Or else i need to define it? If i need to define it, where