Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XHTML Validation error 1

Status
Not open for further replies.

1DMF

Programmer
Jan 18, 2005
8,795
GB
hi,

I'm getting the following error
general entity "requireduser" not defined and no default entity.

for the following line
Code:
<a onclick="getAjax('commissions4.cgi','FA=VW&requireduser=user&DOC=docid','10/03/2005');">

is 'requireduser' some internal XHTML thing? it's just a URL variable name, why is it complaining


"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
No, but ampersand is an internal (x)html thing. You need to escape them in your code:
Code:
<a onclick="getAjax('commissions4.cgi','FA=VW&amp;requireduser=user&amp;DOC=docid','10/03/2005');">
 
aha, don't you just hate unhelpful error mesages!!!

This Page Is Valid XHTML 1.1!

thank you so much!!!!
1DMF

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top