By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,400 Members | 1,322 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,400 IT Pros & Developers. It's quick & easy.

Call ASP page within JavaScript function

P: 3
is it posiable to call a asp page
with in java script function ?

how to do this ?
Jul 5 '06 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
Yes, Ajax. See an example.
Apr 28 '08 #2

Expert 100+
P: 392
is it posiable to call a asp page
Sure if you just want to call the page then it would be something like this.

Expand|Select|Wrap|Line Numbers
  1.       window.location.href='http://yourDomain.com/blahblah.asp';
  2.  
If you are wanting to get data from a page, without reloading the current page, then you will need AJAX.
Apr 29 '08 #3

acoder
Expert Mod 15k+
P: 16,027
True, if that's how you interpret the question :)
Apr 30 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.