Clicking a href should open the page only once in Javascript

Hi,
Here in my project if i click the hyperlink any number of times like:-
New Page It should open the NewPage.html only once. Rather than opening the pages many number of times. I want it be opened only once for any number of times
it has been clicked. Please do provide a solution for this..
Thanks,
M.Ananthu

Hi,
Can you provoide an example for that so that it will be little easier to
understand. Expecting ur reply..
Thanks,
M.Ananthu

Similar Messages

  • When I click a link to open the page in new tab, it open the new page beside my page.

    After I update FireFox to version 3.6.8, I could not open the new page in the last tab, it always opens the new page in beside the tab.
    Mmm…I could not make sure the new page or new tab I said is the same with you…?? (I use Chinese version so that I don’t know if it’s the same or not…)
    A window could open several pages with different tabs, and I could click different tab to different page, right?
    If I right clicked a link to open the page to “new tab” in the same window, the new tab opened in the last tab of my window.
    But after I update FireFox to version 3.6.8 and I click a link to open the page to “new tab” in the same windoe, the new tab will open beside my page. (Mmm…Open on right of my page.)
    I would like the “new tab” open to the last tab in my window, not “beside” the tab I used. How could I change the setting??)
    == This happened ==
    Every time Firefox opened
    == After I update FireFox to 3.6.8

    That feature isn't new to 3.6.8, it was changed in 3.6.
    Type '''about:config''' in the URL bar and hit Enter.
    ''If you see the warning, you can confirm that you want to access that page.''
    Filter = '''browser.tabs.insertRelatedAfterCurrent'''
    Double-click that preference to change the value to '''''false'''''

  • I can open the window only once, once i close it, i need to restart my laptop to open firefox again

    i can open my firefox window only once, if i close it, i cannot open it again, it is not working. i need to restart my laptop again to open it. This had been happening from the date i did the recent update for the new version.

    No, as many times as you need. Log into the App store with the same Apple ID you used when you first downloaded it. Where it says Purchase,  option click and it will change to install. Next time you download it, before you install, keep a copy on a USB drive or external drive to save downloading it again and wasting power and Bandwidth.
    Good Luck

  • When i klick a link that should open the page in a new window it opens up a blank page

    For example a link like this: javascript:%20window.open('http://www.survey-xact.dk/LinkCollector?key=TQ8P4KJN1K3P',%20'_blank',%20'height=580,width=800,status=yes,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes');undefined
    It opens up a new window, but blank. Happens pretty often so I´m greatful if I could get help fixing this.

    That link doesn't seem to exist anymore on that server: http://www.survey-xact.dk/LinkCollector?key=TQ8P4KJN1K3P

  • My firefox browser is only opening the page to about 10cm deep although it's full screem width. It started doing this about a week ago. I've uninstalled and reinstalled it but it's still too short and I can't drag it to full size, it just pings back. Plea

    My firefox browser is only opening the page to about 10cm deep although it's full screem width. It started doing this about a week ago. I've uninstalled and reinstalled it but it's still too short and I can't drag it to full size, it just pings back. Please help?
    == This happened ==
    Every time Firefox opened
    == 12/07/2010

    Hello Susan.
    It's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] (don't forget to select ''Disable all add-ons'' when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and themes and [https://support.mozilla.com/en-US/kb/Troubleshooting+plugins this one] for plugins.
    If you need support for one of your add-ons, you'll have to contact its author.
    If the problem is not disappears when all add-ons are disabled, please tell me, so we can work from there.

  • When i click on safari it says safari could not open the page because the server stopped responding

    when i click on safari it says safari could not open the page because the server stopped responding

    The last page that you looked at stopped responding and has caused Safari to loop the error.
    Go to Settings
    Safari
    Turn on Private browsing and close all open tabs
    Turn off Private browsing and open Safari.
    This should solve the problem.
    If it doesn't:
    Put phone in to AirPlane mode and open safari. Shut down the phone by holding down the power button and turn it back on.
    This will have resolved your problem.
    Good luck!

  • What do i do if my internet is wep and i need it to be wpa2 because my ipod touch 4th gen connects to the internet but when i click on safari or itunes it says safari cannot open the page because its not connected to the internet

    what do i do if my internet is wep and i need it to be wpa2 because my ipod touch 4th gen connects to the internet but when i click on safari or itunes it says safari cannot open the page because its not connected to the internet. i have contacted apple support and they said to change from wep to wpa2 but when i change it to wpa2 and type in password and connect on my laptop it says the saved setting on this computer for the network do not match the require ments of the network

    My 2nd gen works fine with WPA2 and AES encryption.
    You may need to go back and start over.  Reset the router back to factory defaults, log on as the admin, set up security, DHCP, and make sure the IP address pool has enough IP addresses to lease to ALL of the computers/devices that will connect to that the router.

  • When I click on an active link from another application, it opens the firefox application, but won't open open the page - it just opens Firefox or takes me to Firefox. No new tab or window is opened and the link is not displayed.

    When I click on an active link from another application, it opens the firefox application, but won't open open the page - it just opens Firefox or takes me to Firefox. No new tab or window is opened and the link is not displayed.

    Firefox sent an email to me to confirm that I had asked the above question. The email had a link to click. When I clicked it from Firefox, nothing happened. Then I opened IE, signed into Comcast, opened the email, clicked the link, and it brought me here.

  • When i click on safari to use the internet it says "safari cannot open the page because it is not connected to the internet", but i am connected to a wifi network so how do i get safari to work?

    when i click on safari to use the internet it says "safari cannot open the page because it is not connected to the internet", but i am connected to a wifi network so how do i get safari to work?

    you may be connected to the wireless network but the question is the internet working properly on the wireless network...
    what i mean is that i can make a wireless network without the internet so i can save and share files and have other devices connected to the same network access them... but you have to make sure that your internet it running properly... may have to reconfigure the router is your using PPPOE or if it was working prior to your post then try to restart your modem... that usually resolves most issues.

  • TS3274 I am having problems with Safari  It keeps coming up with Safari could not open the page because the server stopped responding, when I click on Safari  How can I remedy this WiFi is OK.

    When I turn on my Ipad and click on Safari it says  Safari could not open the page because the server stopped responding.but I can get on internet with Google Chrome.   What is the problem and how can I repair it?

    Found the answer in the more like this panel and now working.  Thanks.
    But have 3 updates waiting in Apps but it is taking ages to update them and cannot get onto Apps by clicking Apps on the desktop.screen.

  • When I click on a link in an email, it does not automatically open the site page? When I receive an email with a link in it, if I click on the link to open the page, nothing happens. It does not open the internet to that page.

    When I click on a link in an email, it does not automatically open the site page?
    When I receive an email with a link in it, if I click on the link to open the page, nothing happens. It does not open the internet to that page.

    I don't appear to have a toolbar either.

  • I cannot open a .pdf in an incoming mail (Outlook 2010) with Acrobat Pro XI.  It will only allow "preview".  I have to  copy and paste the .pdf to my desktop and then open it.  What do I do to restore the 2x click in Outlook to open the .pdf?  thank you

    I cannot open a .pdf in an incoming mail (Outlook 2010) with Acrobat Pro XI.  It will only allow "preview".  I have to  copy and paste the .pdf to my desktop and then open it.  What do I do to restore the 2x click in Outlook to open the .pdf?  As of now, I get the following bracket opening on screen when I click on the Acrobat icon for attachment within the email:  Thank you
    Adobe Acrobat has stopped working
    Windows can check online for a solution to the problem.
    -Check online for a solution and close the program
    -Close the program
    Problem signature:
      Problem Event Name:                        APPCRASH
      Application Name:                             Acrobat.exe
      Application Version:                           11.0.7.79
      Application Timestamp:                     536b812b
      Fault Module Name:                          Acrobat.dll
      Fault Module Version:                        11.0.7.79
      Fault Module Timestamp:                  536b80ff
      Exception Code:                                  c0000005
      Exception Offset:                                00cbf281
      OS Version:                                          6.1.7601.2.1.0.256.48
      Locale ID:                                             1033
      Additional Information 1:                  0a9e
      Additional Information 2:                  0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:                  0a9e
      Additional Information 4:                  0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

    Hi Gary,
    I have seen this issue occur with users who have this registry setting missing or have improper permissions.
    When you double click the attachment to launch the pdf it is saved and opened from the temporary folder unless saved specifically to a location.
    If you dont have the below mentioned registry key or improper permissions then attachments fail to open.
    Please  heck if the following reg key exists:
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security
    or
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\Outlook\Security
    Value Name: OutlookSecureTempFolder
    If the value exists, and if the value contains a valid path, Outlook 2010 uses that location for its temporary files.
    If the registry value does not exist, or if the value points to an invalid location, Outlook 2010, Outlook 2007, or Outlook 2003 creates a new subdirectory under the Temporary Internet Files directory and then puts the temporary file in the new subdirectory. The name of the new subdirectory is unknown and is randomly generated, depending on your version of Outlook.
    Please check the following key:
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security
    Note the location for: OutlookSecureTempFolder key
    Check if the same folder exists in the following location and if not create a corresponding folder in the location on C:\Users\<User account name>\Appdata\Local\Software\Microsoft\Windows\......
    Regards,
    Rave

  • When I click the facebook app it doesn't open the page.

    Im signed in to facebook and i want to fix this before my brother gets home! so when i click the facebook icon, it doesnt open the page the page goes blank all I see is the facebook logo on the top and the page is blank and after 10 secs it goes back to the ipod touch home page. i've tried recharging it, turned it on and off ! PLEASE HELP ! :'(

    I'm also having trouble with the facbook application on my Ipod Touch. When you try to click on a link within facebook, it doesn't go anywhere. I went and spoke with a person at the Apple store genius bar and they did a restore, and also reinstalled the application. This did not fix the issue. I then asked them to try it with another ipod and it did the same thing. The store rep said it was a problem caused by OS4 and he was not able to fix it.
    Any thoughts on how I can resolve this issue?

  • When i open the add ons page in firefox the pages do not display correctly the pages only show text and are in lists

    when i click on the add ons tab the page does not show correctly. There are no graphics just text. It is difficult to view the page details. If you click on a link within the page the next page opens with exactly the same problem. All other tabs and pages open and display correctly

    Hi,
    If you're using a theme you can try to temporarily switch to the '''Default''' theme in Tools > Add-ons > Appearance. If the problem persists, please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]. Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u '''Use hardware acceleration when available''']. All these settings/options/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme, option or hardware acceleration is causing issues. Disabling/enabling hardware acceleration, and some types of add-ons in normal mode may require a Firefox restart.
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.org/en-US/kb/Options%20window Options]

  • I installed opera Mini Web browser 6.0.1. When open the application only blank page coming. Please provide solution. Kind Regards Nias Ahamed

    I installed opera Mini Web browser 6.0.1. When open the application only blank page coming. Please provide solution. Kind Regards Nias Ahamed

    If you have an internet connection (e.g., Safari works) try here:
    iOS: Troubleshooting applications purchased from the App Store

Maybe you are looking for

  • Is there a way to force upload a photo to Photo Stream?

    I would like to have already existing photos in my Camera Roll uploaded to Photo Stream. Is there a way to make this happen?

  • What format do I use for upcoming program?

    I've been editing in SD now for 35 years and have finally made the switch to HD (it's about time!) I bought a new Sony camera and shot a program in XDCAM. I need to add some footage from an existing commercial. What format should I ask the ad agency

  • Dynamic coloumn creation in TABLE CONTROL

    Hi all, i am using table control in the user interface. here, how to create columns dynamically in table control? thanks in advance. Vinod.S

  • How to generate pulse during changing boolean value?

    I need to generate short pulse during changing boolean value from 0 to 1. This pulse is needed to reset counter.  I was trying with Event Structure with Value Change but I think that I did something wrong. Maybe sambody can give me some tips to do it

  • Finding file locations in Spotlight

    I just upgraded to Yosemite and love Spotlight's new design, but I can no longer find a file's location on my computer by pressing Option+Command. So what's the new trick for finding file locations?