List Select Transfer

What i would like to be able to do is have two listboxes side by side, one will have all of the main categories and the second will have all of the sub categories in it.
I populate the first list by using this code:

<option value= "<% = rs("cat_id") %>"><% = rs("cat_name") %></option>

Now what i would like to do is when the user double clicks say the second item on the list, the listbox next to it will display all of the items that are under the main category they just double clicked on

View Replies


ADVERTISEMENT

How Can I Transfer Values From An Array To A Select Box?

I first retrieve the values stored in a session variable (where I have stored an array). Then I assign the session variable to a local array called "myarray".

Assume that "myarray" now contains 5 records. What would the code look like if I want to create a loop that transfers the 5 values from "myarray" into a select box/dropdown list?

How is that done?

View Replies View Related

Select List

I have a select list which get populated from com but i option value ALL is hard coded on the pageWhen any value is selcted from the list box and form is submitted pages refreshes with the value as selected in the drop down but if All is selected the page ref but All doesnot get selected.

<LABEL for="MyList"></LABEL>

<SELECT id="MyList" name="MyList">

<%For icount=0 To intmyCount%>
<OPTION
<%if Trim(arrmyType(icount,0)) =strmytype Then%>
SELECTED
<%end if%>
VALUE="<%=Trim(arrmyType(icount,0))%>"><%=Trim(arrmyType(intCtr,1))%>
<%Next%>

View Replies View Related

Adding From SELECT List

I have created a webpage with a form written in javascript for a user to enter information. Part of this form requires the user to type in information and then add it to a list, which is of the type <SELECT>. When the user submits the form, I want all the entries in the SELECT list to be entered into the database. If I use the command Request.Form("name"), where "name" is the name of the SELECT field, only the selected entry is retreived. I need to retreive all entries in the list. Does anyone know how I can do this?

View Replies View Related

Select List Box From Array

I have a string that was populated from a listbox. Now I want to bring up the record again for edit and want the listbox to have those records selected ONLY. I am close I think. Currently, it selects all records.

<%
HearingIssues = RS3(0)
HI = Split(HearingIssues, ",", -1, 1)

For i = 0 to ubound(HI,1)
sString = Instr(HearingIssues,HI(I))
if sString = 0 then
%>
<option value="<%= HI(I)%>"><%=HI(I) %></option>
<% else %>
<option value="<%= HI(I)%>" selected><%= HI(I) %></option>
<% end if
next

View Replies View Related

Select (dropdown) List

I have an old application ( pre-VB5) that I need to add a select/option list to. This is an edit program so the values for the form will be retrieved from a database. How do I set the value of the dropdown with the value from the database. The value in the database is either new, trial, maint., employee, beta, or null. I need to set the dropdrown to one of these values. An example of the select;

<td>
<select name="ordReason">
<option></option>
<option value="New">New</option>
<option value="Maint.">Maint.</option>
<option value="Trial">Trial</option>
<option value="Employee">Employee</option>
<option value="Beta">Beta</option>
</select>
</td>

View Replies View Related

Select One Of The List Boxes

I have two list boxes . User can select multiple values from the lists. Is there a way I can force that the user can select from only one of the list boxes? Can I associate the radio button with the list so that as soon as user selects the radio button the other list box turns grey(not letting the user to select anything from that list).?

View Replies View Related

Font Of A Select List

I have the following list

<SELECT NAME="">
<OPTION VALUE="">Series C</OPTION>
<OPTION VALUE="">Series M</OPTION>
<OPTION VALUE="">Series F </OPTION>
<OPTION VALUE="">Screwjack</OPTION>
<OPTION VALUE="">Roloid Gear </OPTION>
</SELECT>

However i want to change the font size and typw within the list is there a way to style the font inside such a list?

View Replies View Related

SELECT List Re-ordered

I need a piece of ASP code which will output the values in a select box no matter what their order. This is for re-arranging items in the database.

I have a page which displays al relevant rows from the database in a select box with a javascript function to move the items up and down in the box.

However, I then need an ASP output of the order of the box. Currently, when i request.form("ord"), I get the values "1,12,36,37,[etc]" but only in the order they are in when the first page loads. It does not re-arrange the items if they have been re-arranged using the javascript function.

View Replies View Related

Multiple Select In Dropdown List Box

How to make multiple select in dropdown list box using asp and access.

View Replies View Related

How To Send Content Of A Select List To DB

I created 3 select lists :

One is a dropdown style that has options in it like : location,date,usage
Second one is a select list that I filled with value from a vbscript that get all groups on my domain.

Third one is a list that gets automatically generated when user select an option from the first one I also got 2 input button that allows the user to move item from list 2 to list 3.

Now here's the deal I want a way, maybe a button, that would circle around all the options in list3 and insert each of them in my DB. Code:

View Replies View Related

Complete An Access Table Through A Select List

I would like to know if it is possible to fill in an access table through a select list inside an APS 3 web page. If yes, how ?

View Replies View Related

Populate A Select List From A Comma Delimited Txt File

I would like to use ASP to populate a select list from a comma delimited txt file.....

View Replies View Related

Refresh Values In Select List Based OnChange Of A Dropdown Box

I am trying to learn and use good DHTML concepts and code (assuming they are needed). My current issue concerns how to handle this situation.

I have a Select List box which displays values based on what value is selected in a dropdown list. For example, my dropdown list contains a class name, and the Select list contains all of the students who are registered for that class.

So what I would like to occur, is when the user changes the class from the dropdown box, the Select List is re-created displaying the students who are enrolled in that class.

I thought I could do this without having to reload the page (with DHTML) but here is my problem. Code:

View Replies View Related

006~ASP 0230~Server.Transfer Error~The Call To Server.Transfer Failed While Load

Any idea what is causing this error? 006~ASP
0230~Server.Transfer Error~The call to Server.Transfer
failed while loading the page.

Just read about benefits of Server.Transfer over
Response.Redirect, replaced, and getting the error.

View Replies View Related

How Can I List All The Email Address From Hotmal Contact List?

How can i list out all the email address into my website from the hotmail caontact list? i am successful log in into the yahoo contact list by using serverxmlhttp and list out all the email address from the page source, but i could not access to hotmail by using the serverxmlhttp. Is any other methos can list out the email address from hotmail contact list?

View Replies View Related

Transfer

I have 2 pages the first one has a text box, beside the text box there is a link when you click the link new window will come, and this window has a table retrieve the employee names from the DB, and these names are links, I need when I select the name should transfare to the first page , How ?

View Replies View Related

Transfer Questions

i hope no one is getting sick of my server.execute/transfer questions..
does server.execute return a value? im wondering what happens if an error
occurs in the .asp file that i'm calling with the server.execute command??
is there a value/flag i can set in the case of an error that can be seen
once i return to the calling page? if not i was thinking that i would have
to use a session variable for my error handling.
i want to stay true to the model, view, control architecture so i don't want
to simply redirect in the case of an error - i want to send a value back to
my control page which will decide where to go.

View Replies View Related

Server.Transfer

I would like to use Server.Transfer to redirect users to a given page,
while maintaining the state of form fields. This works fine on a single
server.
However, this will be deployed in a load balanced environment. I know
that Session variables and load balanced environments don't mix. Do I
have a cause for concern with Server.Transfer as well?

View Replies View Related

How To Transfer Value From One Page To Another

I would like the value of the textfield from text1 from Select_License.asp to be transfered to swname from License_add.asp when i click on the Next button from Select_License.asp ....

View Replies View Related

Server.Transfer To A DLL - Is There A Way?

The Transfer method allows you to transfer from inside one ASP page to another ASP page

Is there a similar thing - The Transfer method taht allows you to transfer from inside one ASP page to a DLL.

View Replies View Related

About Server.transfer

I m using ASP(not .net) ,I want to use server.transfer from a.asp to a.asp (the same page), but i want to remove all the querystring before transferring the page.........although response.redirect can do, it cannot fulfil some response.write b4 the redirection.

View Replies View Related

Server.transfer

I am using the following statement in my asp page , it doesnt work

server.Transfer(ftp://mymachine/dir1/data.zip)

View Replies View Related

Link Transfer

anyone in here got an idea on how i could transfer a value of a form text to another asp page just by using <a href="">

View Replies View Related

Transfer SQL Data

I need to make a table's data available to users. The table is about 150,000 rows x 20 columns. So Excel is out of the question. I think the next common file types would be MDB or DBF. Using ASP, what are the steps to converting this data to one of those file types, then ZIPPING the files for download?

View Replies View Related

File Transfer Via FTP

I'm doing file uploads using the free component ASPSimpleUpload but I have problems of file transfer when the file size is too big or the connection used by the sender is slow.

I'd like to transfer file via FTP from a web page instead of using ASPSimpleUpload. Has somebody already done that and has some code or some links to give me?

View Replies View Related

Possible: Transfer Asp Website To CD?

Is it possible to transfer a dynamic, asp site built on top of an Access database onto a cd for demonstration purposes?

View Replies View Related

Transfer Of Site.

Currently I have someone wanting to transfer their site, ran in IIS/ASP, to one of my servers so that I can host if for them. I am running Windows 2003 Server with IIS 6. I have a disk that has the files for the site (from root down) I created a new site, put the files in there and configured the properties in IIS, but I only get a 500 (Internal Server Error) error page when it tries to run. I set the home directory, permissions, documents to point to the index.asp file, etc...

View Replies View Related

[Server.Transfer()]

How would i embed the Server.Transfer() into the button onClick() event.
I did try this:Code:

<td><input type="button" name="edit" value="Edit" onClick="<%Server.Transfer("edit.asp")%>"/></td>
but this will display the edit.asp page without the need to click on the Edit button.

View Replies View Related

Transfer Parameters

i just realized that II5 is not with me i am running PWS on win98.so can i use response.redirect so that i can transfer parameters like a variable or a value?

View Replies View Related

Transfer A File

I would like for an ASP page to transfer a text file (from the same
directory the ASP file is in) to another Web server.I don't mind if the code is in ASP or VB.I suspect that there is a way of having an ASP page conduct an FTP session
to transfer the file. would like to do this without a component as I'm looking for source code.

View Replies View Related

Data Transfer.

I am creating a database and it has to be up dated from all over the county.But Unfortunately there are some users who have only telophone connection not internet connection. Is ther any way that I can allow them to up-date my database using telephone line i/o interne.

View Replies View Related

Automated File Transfer

My team would like to use an ASP script to have an automatic transfer of files to our live server happen each evening at a predetermined time. I was looking on the web for a script but all I could find is user driven upload scripts.

Is there anything out there that will facilitate automatic uploads of several folders and files via ASP scripts?

View Replies View Related







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