Add To The Option Box For Selection Without Reloading The Page.

I am trying to add record to the database (Ms Access) from a ASP page, which is the easy part. Now I am faced with a simple but hard to me problem. I've a select menu where user can pick multiple value, but when there's a option is not there I was user to be able enter a new option vale and select it.

right now I am redirecting them to a page where by they can add but in process I am lossing the information they entred before hand in other fields.

what I like to do is: from the page where user enter info be able to put a pop-up window then ask them for info and copy the info and add to the option box for selection without reloading the page. is this possible?

View Replies


ADVERTISEMENT

Ckeckbox/option Button Selection

I have got a website that you can request a file/download from but need to protect it, in as must as offer then either to send it to them via email or post and these details are collected @ registration time via a "cookie" .

But I thought a checkbox/option button would be good for the selection of email or post but I just don't know how to post which they have selected.

View Replies View Related

Header Reloading Every Page

I am creating a site with ASP. I have a master page with a flash object before the runat server form and every time I click a link (asp:menuitem) to change a contentplaceholder, the flash object refreshes and does its start-up animation. Is there anyway to stop this? Or is that more of a Flash question.

View Replies View Related

Add To Favourites--without Reloading The Page??

I have a web page where i have given links called add to favourites. So in case of user click that will be added to that favourite items in the database.

there are 3 ways to do as far as i know,
1. submitting the page passing that code as url value and reloading that page again.(not user freindly )

2. pop up a window with that url value and then do the db part in that pop up window page (if pop up blocker is there in the IE then that page wont have chance to do that operation)

3. using a 0 width i frame page..

I just heard about the 3 rd option but dont know how to do that part.

View Replies View Related

Database Without Reloading The Page..

I have a two dropdown lists (Job Catogory and Sub Job Catagory). The values are populated from the database in the following manner, when a user chooses a particular job catagory from the Job Catagory list, the corrosponding sub job catagories are populated into the Sub Job Catagory list. I am using asp as the server side script and sql server as the database. Now whats happening is that when a user chooses a particular job catagory, the form reloads and thn only the sub job catagory list is populated. Is there anyway that this can by done without reloading the page. Probable using a combination of asp and javascript

I posted the same problem in XML forum as someone told me that this can be done through it.

View Replies View Related

Populate 2nd Select W/o Reloading Page

I've been searching the forums for a bit of code (maybe Javascript) that will help me populate a select list using a variable pulled from another select list without refreshing the entire page.

I need to pull the values in the second select list from a database based on search criteria from the first select list. I don't know how to get past the stateless nature of HTML. I'm developing this app using javascript and php for extremely low-bandwidth users and I'm stumped on this one.

View Replies View Related

Updating Address Book W/o Reloading Page

I have a page that allow user to update their contents of their address book.

When users click on a button on the page, a new window will pop-out with all the address book contacts. User will select one of the option and i will retrieve the values on put them into the main page without re-loading the page.

To achieve the above effect, is it better to combine
a) ASP with Java Script or
b) ASP with VBScript

View Replies View Related

Option On A Page

I want to know if you can write a print this page option to a page. I want to write this function in asp or vbscript. I know you can do this in javascript but I don't want tot use this. I also know there is a print fuinction in the browser this is also not what I'm looking for.

I want a piece of tekst which say something like "print this page" When you click on it a asp or vbscript will print the page to your own printer.

I need to know if this is possible and what the code is.

View Replies View Related

Setting Printer Option From ASP Page

I have several asp pages which contains maps and I would like to provide an
easy way for users to print this maps and they do not have to go through
printer setup before they hit print on browser. I need to pre set the printer
to landscape and 11x17 from my asp page. Is it possible? How can I do this?

View Replies View Related

Option Explicit Cause Page To Stop Why

I'm trying to set up a Windows 2003 server using ASP, and I am find ASP
pages just STOP as if I had called Response.End whenever an undeclared
variable is found. If I turn off Option Explicit, it doesn't happen.
Clearly I can Dim the variable to solve the problem (I mention this in case
some smartaleck decided to propose it as the solution), but it is making
finding undeclared variables very hard! Anyone have any idea what I've
done wrong in my configuration?

View Replies View Related

How To Post A Page Automatically When An Option Is Chosen From A Drop Down List

what I want to do is - the user is presented with a form with a drop down box at the top with two options - Yes or No, If No is selected then the form stays as is and the user can complete the other text boxes.

However, if the user selects yes I want the page to refresh with a different set of input boxes.

View Replies View Related

How Can U Connect To 1 Of Several Dbs Based On Selection User Makes When Accessing Main Page

We have a web site IIS 5 (on Win2000k) with Oracle 9i backend (Sun unix).

There is 1 user ID to oracle(APT_W3) that is used by all users (50).

We have a global.asa file that has one APP Start connection string using OLE
DB:
Application("dbConnString")="Provider=MSDAORA.1;Password='SDERSD';User
ID=APT_W3;Data Source=CCEWSDD1_new;Locale Identifier=1033;OLE DB services=-1"

The first page that a user sees asks that they select the area they want to
see (western, northern, etc) from a dropdown menu. Once they select it and
hit save they can go to other pages, session varibles indicating what area
they selected are then passed to pages. Currently all areas are in one
database.

What we want to do is have areas in separate dbs, a northern one, a western
one.etc. Each will have separate user ids (APT_W2N, APT_W3W,etc).

We want the users to have the web page presented to them where they select an
area. Based on the area they select, the appropriate conneciton string will
be used (the one in the global asa). Code:

View Replies View Related

How To Make A Hierarchial Tree Of Option Buttons Expand Without Refreshing Asp Page?

I have a list of broad categories. For example:

Pacific
Central
Eastern

Each of them are preceded by an option button. After the text, there is a plus sign. (this means that I can click on the + sign and then drill down further). For instance:

Pacific
California
Nevada
Oregon
Central
Eastern

Similarly, if I want I can drill down California, if I want to.

Now my question is:

How can I drill down each of them without refreshing the page ? Every time I click on the + sign, the whole page refreshes and then I have to scroll down to see the break down list of the hierarchial tree.

Please suggest ways of doing this dynamically. How can I expand my hierarchial list without having to lose the focus on my hierarchial option tree?

View Replies View Related

Reloading Of Pages

I just created a page that checks logon credentials before it loads the
page.

The problem is that when I left the program and came back, it loaded the
page that was cached without doing the login check. As soon as I refreshed
the page, it did the logon check.

Is there a way at the top of my asp (asp.net and html) to tell it to refresh
certain pages, no matter what?

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

Reloading A Included File

I'm wondering for a way to reload my included page (with a few recordsets) from time to time and display and alert for a trigger limit (based on recordset results)..

I tried to reload it using js, but in that case it reloads the whole page and not only the included file...

<script type="text/javascript">
function page_reload(){

window.location.reload()
}
function page_reload()
{
var t=setTimeout("page_reload(),30000)
}
</script>

Any clue??

View Replies View Related

Selection

i want to do a voting, which let user select. how can i count the number of user vote?
n... how can i accumulate each slection and display a chart by percent?

example:
.apple
.beer

View Replies View Related

More Than One Selection

I have a web page where a user can select a location out of a possibility of 5. I also give them the option of seraching all 5.

However when I put this in it get rids of the drop down box and puts them all in an open box about 2 inches in length. Which isn't too bad but if I say had 20 locations it would take up half the page.

View Replies View Related

Record Selection

I have a form field called Streets that contains 'HIGH STREET,MAIN STREET'

I have a field in my access db called StreetName a single record would contain one street and I want to return all records that have a StreetName in the Streets field. How would I go about this?

View Replies View Related

How To Display One Of Selection In Td Tag?

I do not write the whole code.

I have a IF statement like the following.

if request.Form("UyeTipi") = 1 then
strsql=select ****
else if request.Form("UyeTipi") = 2 then
strsql2=select *****

this is the recordset

set objRecordset = objConnection.Execute(strSql)

With loop I want to display data either from "strsql1" or "strsql2"

I create table like the following with loop

Code:

View Replies View Related

Combo Selection

I am working in an asp/Vb script environment.In a form I have 2 combo boxes.first is main criteria and second one is sub criteria.in the first combo I have made predefined enteris(the headers of the table)say a table is:emp and its headers are:empid,empname,L1manager,accounts,location etc.

on a change event of first combo,I want to fetch the details from the table.say if I selected Ename in first combo.the second combo should automatically fetch the listed Enames and vice versa.

View Replies View Related

Combo Box Selection

My left frame contains a combo box which loads the selected record in the main frame.The combo box retrieves concatenated 3 columns from my db. E.g. ID, Firstname & Surname.

Because of this, it seems to blow out the size of the frame,thus ruining my nav system.Does anyone know how I can restrict the box width, but allow the drop down part to remain wide?

View Replies View Related

Random Selection

How do i select a completly random record from a database?

sql = select (random) from tbl, sort of thing.

View Replies View Related

Paging With Selection

I have searched through a lot of paging articles. But I have not found any specific recommendations for my issue. I have a large record set that I need to page through (1000 records). But on each page (100 records) I must be able to select some rows, add
some comment for each and sumarize them on-the fly.

if I page forward and backward, I still need to see before selected rows with comments and I can even deselect or edit some of them. Should I store all this information (selection, comment, price) in session variables or is there a better way?

View Replies View Related

Combos Selection

I am working in an asp/Vb script environment. In a form I have 2 combo boxes. first is main criteria and second one is sub criteria. in the first combo I have made predefined enteris(the headers of the table) say a table is:emp and its headers are:empid,empname,L1manager,accounts,location etc.

on a change event of first combo,I want to fetch the details from the table. say if I selected Ename in first combo. the second combo should automatically fetch the listed Enames and vice versa.

View Replies View Related

Server Selection

My site is running on IIS5.0 hosted on win2k service pack 4 m/c. We are going to procure high end windows M/C . I seek your advice in selecting right os and version of IIS. My comp is a bit hesitant to migrate to .net too (I don’t know planning of comp in future).My requirement should be

1) Same Program should run on new server with minimum changes.

2) If required we can migrate to .net (although planning is not in near future and I even don’t know what is needed for that)

Your advice in this regard is highly appreciated. Also if you can explain in short about new feature in IIS6.0 (or upper version). Which version of IIS come along with Windows 2003 server, I really have very little knowledge in this field.

View Replies View Related

Selection Options

i am using frontpage ,ASP, and some javascript. how do you create a START-> ALL PROGRAMS selection option. you place the mouse over the "all programs" and you got all selection related to "all programs"

i want to do the same thing with data from a database. how do i do this?

View Replies View Related

Option Tag

how can i create an option tag whith the onpick event?

View Replies View Related

Option Value

if the default value of my my option value i want to retrieve it from the record if it's not empty. how can i do it? for example Code:

View Replies View Related

OPTION Value

Is there a way I can iterate an option value using ASP so I can pass in multiple values on submit to the Federated item? Here's an example of pseudocode of what I'm trying to do:

<SELECT name="grpNm" style="LEFT: 8px; WIDTH: 213px; TOP: 1px">
<OPTION value="XXXXXXXXXXXXXXX">Federated
</OPTION>
</SELECT>&nbsp;&nbsp;

View Replies View Related

Option Value Tag

Below is an extract from a form that i am writing. I need the user to be able to have a drop down menu of languages. How do I use the 'option value' command in ASP like you can do in HTML.If someone could amend my code to give me a couple of language options so I can get an idea of how it is down.

<tr id="r_Lang">
<td class="ewTableHeader"><span>Language<span class='ewmsg'>&nbsp;*</span></span></td>
<td class="ewTableAltRow"><span id="cb_x_Lang">
<input type="text" name="x_Lang" id="x_Lang" size="30" maxlength="25" value="<%= Server.HTMLEncode(x_Lang&"") %>">
</span></td>
</tr>

View Replies View Related

Option Value

i have a dynamically created drop down menu where the values are pulled from our database. i've been trying with no success to pass those values to the page but it never works.

how do you pass the values from the <option value="<%=...%></option>? i thought you recalled it in the sql statement like:
Code:

" WHERE Something = '" & Request.Form("optionvalue") & "' "

View Replies View Related

Radio Button Selection

I have this code the value thats stored in table is Yes in College_Assistance field

so i want to select the Yes radio button

but its not selecting

when i see he view source it doesnt say checked="true"

any idea why. Code:

View Replies View Related







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