Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
After a function call...
Message
From
19/07/2007 09:19:24
 
 
To
19/07/2007 00:56:02
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01240882
Message ID:
01241889
Views:
21
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform