Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

call asp fuction on button click in asp
dear sir/madam
1>  I want to call an asp function through onclick method of button.
2> I want to call an asp function through javaScript
Thanks in advance


Report this thread to moderator Post Follow-up to this message
Old Post
vinodkus@gmail.com
08-13-07 12:56 PM


Re: call asp fuction on button click in asp
wrote on 13 aug 2007 in microsoft.public.inetserver.asp.general:

> dear sir/madam

Wow!

>1>  I want to call an asp function through onclick method of button.

Impossible, since ASP runs serverside code, and it is not very useful to
put a button on a server screen.

>2> I want to call an asp function through javaScript

Since asp is not a function but a serverside platform for running vbscript
or/and j[ava]script, an asp function as susch is a misnomer.

Impossible if you mean clientside javascript, because when that js runs,
the asp code on the server is already finished.

Quite possible when using serverside js, the function itself could even
have been written in js, but I suspect you know that by now.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Report this thread to moderator Post Follow-up to this message
Old Post
Evertjan.
08-13-07 12:56 PM


Re: call asp fuction on button click in asp
vinodkus@gmail.com wrote:
> dear sir/madam
> 1>  I want to call an asp function through onclick method of button.
> 2> I want to call an asp function through javaScript
> Thanks in advance

Research the use of XMLHTTP, or Ajax as it is known today. For further
help with this, post to a client-side scripting group such as
.scripting.jscript
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.



Report this thread to moderator Post Follow-up to this message
Old Post
Bob Barrows [MVP]
08-13-07 12:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:03 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.