thank u Dan.
I understood,
 
Jegatha

Dan Powderhill <[EMAIL PROTECTED]> wrote:
You'll have to do a post back to the server using the link.

For instance:-

<%
sub f1()
    response.write "f1() called"
end sub

if request.querystring("runFunction") = "1" then
    f1
end if
%>

<a href="me.asp?runFunction=1">Run Function</a>

Where me.asp if the name of the file.

Dan

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Mischa
Kroon
Sent: 29 July 2005 10:44
To: [email protected]
Subject: Re: [AspClassicAnyQuestionIsOk] how to link


Ok I think you will have a problem getting this to work.

There is a thing called client side ( things executed on browser )
And a thing called server side ( tings executed on the server )

Mixing these things up is a complicated proces, google for ajax + asp / 
remote scripting + asp to find out more about this.
What you can easily do however is call a javascript function using an 
onclick event.

This has examples on the on click thing.
http://www.idocs.com/tags/linking/_A_onClick.html

This will give you a client side function.

You can also say bullocks this should be easy and then you can move to
.Net, 
where this sort of thing is a lot easier :)



----- Original Message ----- 
From: "Jegatha" <[EMAIL PROTECTED]>
To: "Asp" <[email protected]>
Sent: Friday, July 29, 2005 8:38 AM
Subject: [AspClassicAnyQuestionIsOk] how to link


i have link,this should refer a ASP funtion in the same page how to do
it

example:

<%
function f1()
%>
<a href=" here i should refer the function">refer</a>

thanks in adv

regards,
Jegatha


---------------------------------
Too much spam in your inbox? Yahoo! Mail gives you the best spam
protection 
for FREE!
http://in.mail.yahoo.com

[Non-text portions of this message have been removed]





Yahoo! Groups Links








________________________________

YAHOO! GROUPS LINKS 


      
*      Visit your group "AspClassicAnyQuestionIsOk
<http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk> " on the web.
        
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subscribe> 
        
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 


________________________________




[Non-text portions of this message have been removed]



SPONSORED LINKS 
Programming languages C programming language Computer programming languages 
Java programming language C programming language History of computer 
programming language 

---------------------------------
YAHOO! GROUPS LINKS 


    Visit your group "AspClassicAnyQuestionIsOk" on the web.
  
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


---------------------------------



                
---------------------------------
 Too much spam in your inbox? Yahoo! Mail gives you the best spam protection 
for FREE!
http://in.mail.yahoo.com

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hej08gs/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1122640575/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to