Calling Info From Subs Using A Link

I want to have a list of links on my ASP page that call specific info from different subs on the page into a <div>. So I'd have a menu-like list on the left, say:

LINK 1
LINK 2
LINK 3

so LINK 1 would call and display the info from the sub called, say, "link1", and LINK 2 would call and display info from the sub "link2", etc.

then on the right would be the <div> to contain the requested info from the sub.

Any suggestions? I've trawled the net for answers but when you don't really get the terminoligy, etc, its very hard to know what you're looking for!

View Replies


ADVERTISEMENT

Calling A Program From A Link

My web application with to have a chat room or instant messaging features.
But doing that is not worth as there are a lot of instant messaging software
out there such as MSN Messenger, Yahoo Messenger and ICQ.

So I plan to make a link in the page, so that when click on the link, the
appropriate messenger software will be executed.

Eg: click on the link "MSN", then it will call out the MSN Messenger
program.

View Replies View Related

Calling Html Link

I have a need to call an html page into the pane I'm viewing using a button on an ASP page. The page itself is an ASP page called from a website. I know a link would work but the rest of the page has buttons and it would look cleaner to use a button.

I've tried the below in a few variations, including using a href tags inside the onclick. Anyone have a suggestion on what I'm doing wrong here?

View Replies View Related

JAVASCRIPT In ASP - Making A Link From Database Info

Code:
while (!MyQuery.EOF){
Response.Write("<tr><td colspan='2' class='results'>" + MyQuery('Title') + "</td>");
Response.Write("<td align='right' class='results'>£ " + MyQuery('Price') + "</td></tr>");
MyQuery.MoveNext();
}
I have that returning a record set to display ! I then need to make it so the "Title" is a link to a page with all the information shown for that book! How would i go about doing this ?

View Replies View Related

If Statements And Subs Problem With End IF

I am trying to get a page that loads up a different include file depending on which input form button was clicked.

I can get it to work with just one if statement but once I put a second if statement in I get the following error

Quote: Error Type:
Microsoft VBScript compilation (0x800A03F6)
Expected 'End'
/ordersearch/ordersearchresults.asp, line 27

Now no matter where I have though of putting my end if the page now doesn�t work. Does anyone know of the solution??? Code:

View Replies View Related

Global.asa - Code Outside Subs

In global.asa I have some code outside all the Subs.

I have some confirmation that it is being executed OnStart.
Yet I can's see if it is executed OnEnd.

The literature I have says that OnEnd the Sub Application_OnEnd is executed,
but is does not say that anything else is executed

Actually I even can't understand if global.asa is permited to have any code
outside the Subs Could someone comment on this?

View Replies View Related

Using Subs To Write Reusable Code

I am trying to create a user administration section and I want to use a subroutine that connects to a database, runs a query, returns a result and then closes the database connection. Then I would like to be able to access this result e.g a COUNT of fields in a table, in other pages.

Is this possible using Subroutines, if so how, and what other ways do you guys use code reuse in ASP?

View Replies View Related

Creating Files For Functions And Subs

I have created several functions and subs in both VB and Java. How can I put
these into a file to be called by different pages.

View Replies View Related

Call Subs, Files, Functions, Etc. From Javascript

is it possible to call ASP subs, files, functions, etc. from Javascript commands? I want to have a setup of various buttons where clicking on a button would call an ASP sub to grab info from a db.

View Replies View Related

Asp Info

Is asp.net similar to vb.net ? What can you create with it ? ,Is there a program you suggest me to use , or even a compiler ?

View Replies View Related

Looking For Info

I need to know where I can get information about learning how to code in ASP. This getting cide snippets and such doesn't work out real well if you don't know what to configure. Also I would like to have my own work not someone elses.

View Replies View Related

Getting DB Info

In different examples I've seen different ways to do the same thing, and I want to know what is best (fastest, easiest to remember, same command for all types of stuff, etc)

For example, to get data from a database, should I use:

[VBS]set rs = conn.execute sqlstmt[/VBS]
or
[VBS]rs.Open sqlstmt, conn[/VBS]
or something else?

View Replies View Related

ASP Info

what can i use to get my server's ASP information, like with PHP you can use:

PHP Code:

<? phpinfo(); ?>

What can i use in ASP?

View Replies View Related

Aditional Info

I have a form that I use a few option selections from DB table and a insert script at the end.I'd like to have access to aditional info from the same table after choose an option

View Replies View Related

Grabbing Info

I am trying to retrieve data from a dropdown listbox in asp using:

<%Response.Write + Request.Form("cboBox")%>

The problem is that I only retrieve the first value of the option. For
example, if my first option was <option value=this that>, I only can
retrieve "this". It won't get the second word.

View Replies View Related

Info From .asp Web Pages

Recently, I came across a site with information to my area of knowledge. The pages have been designed and consist of the .asp extension in the url.
I'm not able to select the text on the web page, either click right mouse button or anything to copy the information. when I'm trying to print it is not perfect.
So, I would like to know from ASP guru's whether there is any way of saving the information on the web pages, so that the same can be formatted in a word document for printing purpose.

View Replies View Related

Get User Info

My web site is windows authenticated.
When someone connect to my site, I get his SID with a small active X object
which uses OpenProcessToken and GetTokenInformation (token user etc ...

But now, I also need the SID list from AD user object SIDHistory. (when a
user is moved across domain).

View Replies View Related

Selecting Info

I've got a WYSIWYG editor, that runs off a template page (i.e. template.htm) that gets opened in an iFrame for editing.
How can I get it setup so I cange the template at the click of a button? I've tried doing a form with radio buttons, but can't get it to work.
For example, the iframe source has been set to "strTemplate". My form processing was along the lines of:

<%
If request.form "template" = "template1" then
strTemplate = "template1.htm"
Else
strTemplate = "template.htm"

If request.form "template" = "template2" then
strTemplate = "template2.htm"
Else
strTemplate = "template.htm"

End If
End If
%>

View Replies View Related

Display AD Info

Anyone have anything like this? I don't care what data it is... I just want
to see how to query the AD and place the data into a web page.

View Replies View Related

SMS Info (possibly OT)

Basically I want to be able to send users (if they sign up to it) an SMS alert whenever someone leaves them a message on a webpage. Similar to Hotmail where you can get an SMS when you receive an email, or Ebay where you can get alerts if you are outbid.

I'm thinking maybe something very similar to CDO in terms of coding Code:

View Replies View Related

Reloading Info

im running an asp page where by i can upload a xls file- which adds data to a database provided it passed validation. this then sends a success message to the user. what i need is a button where i can call the data which was recently added into the database- but dont know how to go about it or code.

View Replies View Related

DB Field And Name Info

I am using :

<% FOR EACH field IN size_info.FIELDS
Response.write("<option value=''>" & replace(field.name, "asize", "") & "</option>")
NEXT%>

to loop the names of the fields in a DB, but I cannot get it so that is the value of the data in that field is lower than 5 it simply doesn't show, i thought i might be this

<% FOR EACH field IN size_info.FIELDS
if size_info.fields.name.value > 0 then
Response.write("<option value=''>" & replace(field.name, "asize", "") & "</option>")
end if
NEXT%>

but that doesn't work.

View Replies View Related

Info On Portalapp

Is this the right forum for this. Considering using this but not sure, specially considering the price and I would need to add a host. If you have any knowledge please let me know. Also if this the right forum, also let me know and I will give more details. It is an ASP program of course.

View Replies View Related

LOG Download Info

Currently I have one asp page which opens after the proper ID entered by user and it generate <A> tag with application software download link. When the user click on the link (which is pointed to the actual physical file.EXE of Size around 10 - 20 MB) it downloads file. But how do i change the logic so that the activity will get LOG in some text file. Like which user has downloaded which file. (it should log into text file).

I think I need to remove the <A> for direct download instead it shoudl call an asp page whcih should log the event and push the file to user.suggest with sample code if possible.

View Replies View Related

Version Info

How can I get ASP and IIS version info?

View Replies View Related

Make The Pop Up Info Box

When you hover over one of the topic in this forum a box appear with the first few lines of the message in it. How is this created. What events area used to creat something similar and does anyone know of any good website where i can look at a tutorial for it.

I dont even know what they are called so dont know what to search for even on the web as if i write pop up i get something else which i dont think is what i really want to use, or maybe it is.

View Replies View Related

Info Page

I am working on a users system for my site. I have the databases and most of the pages set up. But, I need to create a page called "My Info". This page would display only the information of the person that is logged in.

I am curious as to how I would retrieve only one entry in an access database and display it based on the person logged in.

View Replies View Related

Select Box Info

anyone know how to update the inforation in a select box without refreshing the page or using massive javascript arrays using regular asp(not .net)?

View Replies View Related

Not Getting Info In LOGON_USER

I have an intranet site hosted in IIS 5.0 Win2000, and want to display the name of the user logged into the local machines(WinXP) in the pages they access like 'Welcome JohniBravo'.

So, i used the Request.ServerVariables("LOGON_USER"), but get a blank ("") displayed in the page. And i even tried "REMOTE_USER" but, still the same. from somewhere i got to know that theres something called 'Allow anonymous user' should be enabled to get these info from servers. help me with the same?

View Replies View Related

UserLogin Info

i have the users logging in from a database that part works. what i want to do is pull the users information from the data base to the page....

example

John Doe logs in pulls only john does info
marry logs in pull only marry info .

View Replies View Related

Verifying Info

if there is a way of verifying information that is in the registry of the user's computer? Or is there a way of checking if a file is on the c: of the user's computer??
I want to make a certain verification of who is entering my website.

but the IP address is never the same (since it is randomly given to the user) and I can't use the LOGON_USER variable because the users are not all in the same domain. And cookies are too easily destroyed with the IE options.

View Replies View Related

Info Disappears

I never had this happen. When i display my database into a table it displays fine. But if i change the order of the columns some of them won't display. No error codes at all.

i'm using a SQL DB with char, text and datetime fields. What can be wrong?

View Replies View Related

Passing Info

Currently I have a list of products in a drop down list. not very informative or easy to browse.

browse to check4add.asp at http://www.flowersdirectory.co.uk

I want to be able to open a pop up where the customer can browse the additional products and pass the variable to the parent pages form variables.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved