ASP Master page Syntax Error load JQuery library

I am trying to load the JQuery library in my ASP.Net application. The obvious place to put it is in the Master Page.
I am using VS 2008, although the app was converted from 2005.
I cannot for the life of me understand what the syntax error is "On line 2" when I run the app.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="" >
<head runat="server">
    <title>Untitled Page</title>
    <script src="JQuery/jquery-1.2.6.min.js" type="text/javascript"></script>
   <script language="javascript" type="text/javascript" >
function show(id) {
 document.getElementById(id).style.visibility ='visible';
 document.getElementById(id).style.color ='black';
function hide(id) { 
 document.getElementById(id).style.visibility ='hidden';

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David H.H.LeeCommented:
Hi hijiki7777,
If the JQuery library is installed correctly("JQuery/jquery-1.2.6.min.js"), it should be ambiguous duplicate declared function name. Try rename these function - show(id) and hide(id) to others name. If not mistake, these 2 functions has been declared and used inside this library.
function showControl(id) {

function hideControl(id) {


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hijiki7777Author Commented:
x com, thank you for that answer, it worked!
It really didn't occur to me that that could be the problem, and since it is the solution it is clearly a bit of a hazard when installing JQuery on a mature system. It really would have helped if the error message had been "ambiguous duplicate declared function name" instead of "syntax error".
Anyway, thank you very much, and useful to have that experience.
hijiki7777Author Commented:
I am SO grateful. A simple solution that did not occur to me.
David H.H.LeeCommented:
I'm glad to help. Cheers.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.