Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

In-page link not working in Firefox

  • 10 replies
  • 2 have this problem
  • 3 views
  • Last reply by davemaclurg

more options

I have an in-page link that is not working. In a web page , which I maintain using Front Page, I have the following which works fine" <a href="#Top" name="Top"></a> ..... <a href="#Nov2016US">Nov 2016 US</a> ..... <a name="Nov2016US" href="#Nov2016US"></a>Nov 2016 - US ..... < a href="#Top">back to top</a>

In another webpage generated by a program I have the following which does not work: <a href="#moreresults">More Results</a> ..... <a name="moreresults></a>

Can anyone explain what might be the problem? The code which does not work seems similar to the code that does work. The same Firefox browser (version 49.0.1) on the same pc is used in both cases.

I have an in-page link that is not working. In a web page , which I maintain using Front Page, I have the following which works fine" <a href="#Top" name="Top"></a> ..... <a href="#Nov2016US">Nov 2016 US</a> ..... <a name="Nov2016US" href="#Nov2016US"></a><b>Nov 2016 - US</b> ..... < a href="#Top">back to top</a> In another webpage generated by a program I have the following which does not work: <a href="#moreresults">More Results</a> ..... <a name="moreresults></a> Can anyone explain what might be the problem? The code which does not work seems similar to the code that does work. The same Firefox browser (version 49.0.1) on the same pc is used in both cases.

All Replies (10)

more options

In your second example, a closing quotation mark is missing on the name="" attribute, but that might not be a problem in your actual page.

Is the non-working page loaded in a frame? Some users have noted that Firefox doesn't always follow internal links when communicating between frames.

more options

Yes the missing quotation mark is not missing in my actual program.

There are a couple of frames; one in the <head> and one in the <body>.

more options

The link does not take place between frames but in the <body>

more options

In theory it should work. Can you link to a page that demonstrates the problem?

more options

Unfortunately I can't do that as there is personal medical information on the page.

more options

I have removed private stuff from the code and here are the HTML lines that are output:-

<meta http-equiv='~"Pragma~"' content='~"no-cache~"'> <meta http-equiv='~"Expires~"' content='~"-1~"'> <title></title> <link rel='~"stylesheet~"' media='~"all~"' type='~"text/css~"' href='~"/css/cssmenu.css~"'> <script language='~"JavaScript~"'> function checkAll(theName) ~{ for (i=0,n=lettersRecip.elements.length;i<n;i++) if (lettersRecip.elements[i].className.indexOf(theName) !=-1) ~{ lettersRecip.elements[i].checked = true; ~} ~} </script>

Letters - Recipient

<form name='~"form1~"' id='~"lettersRecip~"' action='~"view-pe-letters.html~"' method='~"post~"'>

The sequence you are trying to view is closed.

Click here to return to the recipient letter selection index.

Sequence Number: ' w_seq '

More Results


ID PHM/PHY Name Prescription Count Total Prescriptions Letter History
' pe_phy_recip.t1d0-recip-cur-pcn ' ' recip.pat-first-name ' ' recip.pat-last-name ' ' recip.birth-date ' - Add notes &nbsp &nbsp &nbsp &nbsp<input type='~"button~"' name='~"selectall~"' value='~"Select' onclick="~"checkAll(~''" pe_phy_recip.t1d0-recip-cur-pcn="">
PHY
' pe_phy_recip.t1d0-recip-cur-pcn ' ' recip.pat-first-name ' ' recip.pat-last-name ' ' recip.birth-date ' - Add notes &nbsp &nbsp &nbsp &nbsp<input type='~"button~"' name='~"selectall~"' value='~"Select' onclick="~"checkAll(~''" pe_phy_recip.t1d0-recip-cur-pcn="">
PHY
' pe_phy_recip.t1d0-recip-cur-pcn ' - Add notes &nbsp &nbsp &nbsp &nbsp<input type='~"button~"' name='~"selectall~"' value='~"Select' onclick="~"checkAll(~''" pe_phy_recip.t1d0-recip-cur-pcn="">
PHY
<input type='~"checkbox~"' class="~"'" pe_phy_recip.t1d0-recip-cur-pcn="" '~"="" name='~"phy~"' value="~"'" '-'="" pe_phy_recip.pe_id_sent=""> ' pe_phy_recip.pe_id_sent ' ' provider.p1m0-prov-lst-nm ' ' pe_phy_recip.pe_rx_count ' ' pe_gt_recip.pe_gt_rx_count ' Seq No: ' pe_phy_letters.pe_seq_no ' Description: ' pe_seq.pe_reason '
Alert Date ' pe_phy_letters.pe_alert_date ' Dates: ' pe_phy_letters.pe_begin_date ' - ' pe_phy_letters.pe_end_date '
PHM
<input type='~"checkbox~"' name='~"phm~"' class="~"'" pe_phm_recip.t1d0-recip-cur-pcn="" '~"="" value="~"'" '-'="" pe_phm_recip.pe_id_sent=""> ' pe_phm_recip.pe_id_sent ' ' pdmpharm.pharm-name ' ' pe_phm_recip.pe_rx_count ' ' pe_gt_recip.pe_gt_rx_count ' Seq No: ' pe_phm_letters.pe_seq_no ' Description: ' pe_seq.pe_reason '
Alert Date ' pe_phm_letters.pe_alert_date ' Dates: ' pe_phm_letters.pe_begin_date ' - ' pe_phm_letters.pe_end_date '

<input type='~"button~"' name='~"add~"' value='~"Add~"' onclick="~"form1.action=~'view-pe-letters.html?page=no&method=post2&add=add&memoryid='" tmpid=""> &nbsp &nbsp <input type='~"button~"' name='~"delete~"' value='~"Delete~"' onclick="~"form1.action=~'view-pe-letters.html?page=no&method=post2&delete=delete&memoryid='" tmpid="">

<input type='~"hidden~"' name='~"seq~"' value="~"'" w_seq=""> <input type='~"hidden~"' name='~"id~"' value="~"'" wid=""> <input type='~"hidden~"' name='~"startResults~"' value="~"'" w_startresults=""> <input type='~"hidden~"' name='~"endResults~"' value="~"'" w_endresults=""> <input type='~"hidden~"' name='~"previd~"' value="~"'" w_previd="">


Results ' w_startResults ' - ' w_endResults '

<input type='~"button~"' value='~"Next' 25="" ('="" w_endresults="" +="" 1="" '="" -="" ')~"="" onclick="~"form1.action=~'view-pe-letters.html?page=yes&method=post~';form1.submit();~"">

' phyCounter ' physician letter(s) and ' phmCounter ' pharmacy letter(s) added.

' phyCounter ' physician letter(s) and ' phmCounter ' pharmacy letter(s) deleted.

<input type='~"hidden~"' name='~"method~"' value='~"post~"'> <input type='~"hidden~"' name='~"seq~"' value="~"'" w_seq=""> <input type='~"hidden~"' name='~"id~"' value="~"'" w_memoryid=""> <input type='~"hidden~"' name='~"startResults~"' value="~"'" w_startresults=""> <input type='~"hidden~"' name='~"page~"' value='~"no~"'> <input type='~"hidden~"' name='~"page~"' value='~"yes~"'> <input type='~"hidden~"' name='~"previd~"' value="~"'" w_previd=""> <input type='~"submit~"' name='~"submit~"' value='~"Back' to=""> </form>
Select the sequence number: <select name='~"seq~"'> </select>
<input type='~"hidden~"' name='~"method~"' value='~"post~"'>

<input type='~"submit~"' value='~"Submit~"'>

more options

I can't tell whether this is a problem with the forum or with your page, but why are there tilde characters all over the place?

<a href=~"#moreresults~">More Results</a>

But perhaps the bigger issue is the name/id conflict here:

<!-- <div id=~"moreresults~" > <span id=~"moreresults~" ></span> <br> --> <a name=~"moreresults~" ></a>

Firefox looks at both id and name attributes for navigation within a document. Firefox may be finding the first match (the div in the comment) instead of the third match. Try changing the name(s).

more options

Sorry about the fildes.

The use of "moreresults" in the
tag has been commented out so it should not have an effect, am I right?
more options

Comments should be ignored, but I think you are in the best position to test whether that is the problem or not. That's the only strange thing I noticed.

more options

Thanks very much for your help. I wish I could find what is going wrong.