Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 202
  • Last Modified:

<A name="..."...> in Netscape

Hi All,
 I have a giant form in my HTML, which is generated dynamically by a JSP. The page is divided into many blocks (tables), and links at the top of the page for each of these blocks.
 I am using <a name="1"> etc. for the links. They are working fine in IE, but in @#$#$ Netscape, nothing happens when the link is clicked on. I have tried with quotes, without quotes, with # in name without # in name.. nothing works! any pointers?
TIA,
Ananth
0
ananth222
Asked:
ananth222
1 Solution
 
ahoffmannCommented:
are the <a name ..> tags inside the table, then it will not work (on some browsers) 'cause it's not w3c standard :-(
0
 
ahosangFinance Systems DeveloperCommented:
name should not begin with a numeral.
Try <a name="a1">
0
 
brunoCommented:
how are you linking to it?

should be


<a href="#1">topic 1</a>


not sure about the number thing?  haven't heard that before, but i've never used numbers in the name tag i don't think.....



BRUNO
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
CJ_SCommented:
ahosang is right. No object, tag or variable should ever start with a number. It's one of the rules in programming ;-)

CJ
0
 
ananth222Author Commented:
I had given the <a name...> tag inside a <tr> but outside <td>! I put it inside the <td> and it now works fine!!
danke hoffmann!
Nice points from the others too, but I guess numbers do work here...
aufweidersehen!
0
 
ahoffmannCommented:
according to w3c, name= and id= must start with a letter, so CJ_S is right too.
Auch danke ;-)

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now