This is a discussion on "Link to call a function" within the Classic ASP section. This forum, and the thread "Link to call a function are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Link to call a function
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Link to call a function
I've got 3 functions and I want to put a link on the page so that when you click it one of the functions runs thus changing what the page looks like. how would i accomplish this? any help would be appreciated. thanks.
|
|
|
|
||||
|
Re: Link to call a function
basically you need to have the link point back to the same page with a querystring such as, eg: mypage.asp?do=myfunc
In your asp you can check the variable and act accordingly:-
If you need further help, then please post your code here (using [code][/code] tags)
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
Re: Link to call a function
You cannot call a server side function directly from a link.
Send some parameter to page and call the function conditionally. [Edit: spam links removed] Last edited by Rob; Dec 1st, 2005 at 15:06. |
|
||||
|
Re: Link to call a function
Quote:
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| link, call, function |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to call a javascriprt function from a contentplaceholder | Graeme36 | ASP.NET Forum | 0 | Oct 14th, 2007 13:53 |
| call php function in image url | csun | PHP Forum | 16 | Aug 19th, 2007 18:49 |
| call php function in different database | csun | PHP Forum | 1 | Aug 8th, 2007 07:17 |
| call check if user function exist | csun | PHP Forum | 2 | Jul 17th, 2007 06:14 |
| AJAX call function | melvinoyh | JavaScript Forum | 2 | May 31st, 2006 01:02 |