thanks John Fenton.
I'll give it a try.
>>Thanks John.
>>
>>Another question if you can.
>>
>>I have a HTML header (th) code like this:
>>
>><th bgcolor="#b0c4de"><b><IMG SRC="up.gif" onClick =SORTLIST("1") style="cursor:hand"><IMG SRC="down.gif" style="cursor:hand"><br> Description </IMG></b></th>
>>
>>
>>It displays fine but when I click the "Up.gif" or the "Down.gif" I want to call a function called SORTLIST(), which is written with VBScript.
>>The ways I've tried to call it doesn't work. What is the correct way to call this function?
>>
>>TIA
>>
>
>I'm assuming this is client side.
>
>I don't do a lot of HTML, but I'm pretty sure the syntax needs to be:
>
>
>onclick='SORTLIST("1")'
>
>
>Note the quotes, most HTML attributes require a string.
>
>BTW I strongly recommend writing client side scripts in JavaScript, last I heard VBScript was only supported in IE.
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville
No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)