Javascript, ASP & HTML Select Object - Duplicate Options

I have an ASP page that uses VB as the language. It accesses my database via RedBack objects and methods. Here's the snafu I've encountered today -

I have a form defined (in HTML). I populate all of the fields within the form with values from the database (the records will always have data when this form displays). I use a for next to loop through the records (with multivalued fields). Here is a piece of the code:

View Replies


ADVERTISEMENT

Multiple Select Options At The Same Page

I m trying to use multiple option menu using redirect function in ASP.

I managed to do a single option but I need to use multiple options can you please advise on how to do this, so both options apear in the same page. for instance, in the code below a user should be able to select uk and also selects between the other options; population, geography from the same page. Code:

View Replies View Related

Javascript Object In ASP Files

Guys Just in case anybody know how to pass a javascript object in ASPCASE:

I have an input button with a Click event

<input type="button" onClick="JScript: done(this,<%param1%>,<%param2%>)"
Now param 1 and param 2 are ASP variables whic I sucessfully requested in another asp
page.. like this...
<input type ="hidden" value="<%=param1%>">
<input type ="hidden" value="<%=param2%>">

Now the problem is I want the object "this" to be passed to another page.

View Replies View Related

Javascript Object = Null

While coding asp applications in vbscript objects are set to nothing when they are no longer required. What about when coding with javascript. Is it necessary to set javascript objects to null or the garbage collector works differently for javascript ?

View Replies View Related

Can JavaScript Add Items To ASP Dictionary Object

I got two ASP pages. One is ASP email form (I'm using Persist ASP
Email component). Another one has all file links in it. For example,
when user click Outlook course hyperlink. It will pop up another
window with outlook course PDF file. (All PDF files are already in the
server).

What I am trying to do is: When user click the "Add Email" hyperlink,
it will add that course name and filepath into ASP/VBScript Dictioanry
Object. After the user finish and click "Attach to email" button. All
the files will be attached in the email as an attachment.

Because I am not familar with VBScript. So, can Javascript add items
to ASP Dictionary Object?

View Replies View Related

Create.Object(SQLActions.Select)

I am trying to migrate some websites to IIS 6 and this code does not work in IIS apparently, at least I have not found a way to make it work after 10 business days of trying. In ASP is there another way to accomplish this that may be more suitable: Code:

View Replies View Related

Can I Read An ASP Session From An HTML Using Javascript?

I have created a session in asp .net and transfer to an HTML page.
I want to grant access to that html page depending on the content
of that session object. Is there any way I can read that object using javascript
in an html page?

View Replies View Related

2 ASP Pages Communicate With JavaScript Object In 2 Machines

I wrote 2 ASP pages that communicate with JavaScript objects. page1.asp and
page2.asp are put in separate servers in separated machines. If I put in
single machine, it is fine. Now it has Runtime error: 'params.test' is null
or not an object. Any ideas?? Code:

View Replies View Related

How To Pass The Server Side Value To JavaScript Object??

<script type="text/javascript"
function window_onload(
{var params = new Array()
params["streetNumberPrefix"] = <% Request.Form("streetNumberPrefix") %>

</script></HEAD><BODY onload="window_onload()">

View Replies View Related

HTML Encode And Select Form Fields

I have downloaded and installed an ASP Calendar offered for free by Manohar Kamath from his website. I've modified it to accept two new fields (sStart_Time & sEnd_Time). I want to be able to have drop down selections for the time entry, but do not know how to accomplish this.

Please take a look and tell me if this can be done using the <% =Server.HTMLEncode(sStart_Time) %>"> value for this piece or if there is some other way to accomplish this, please let me know.

If I leave it as the following, it works OK, but I want to make it easier for people who are adding to the database: Code:

View Replies View Related

Call Javascript Functions From Inside Html Body

Is there a way i can call a javascript function from within the body of some html? Code:

View Replies View Related

Calling COM+ Object From HTML Button Or Image

Is it possible to call a VB6 COM+ object on the click of a button or
image in classic ASP without submitting the form to the server?

An example: I have a form with a person's name and address all filled
out. I want the user to click a 'Save' image (or button) which
instantiates a COM+ object and passes the form data to the COM+ object
which writes it to the database, all without submitting the form to the
server.

Possible?

View Replies View Related

Convert Html From Url To Pdf Directly Into Response Object?

I'm looking for an activex com that will be given an existing url and turn it into pdf binary stream (no files on the server) either that or turn into a tiff image.

I would like something that has a small footprint meaning no impersonation, no visual screens, just pure sdk ...

View Replies View Related

Displaying Image Using The Mailer Object In HTML Format

The code sends an automatic email, but the email is html format. At the top of the email i want to include an image.

Everything is working except the image is not being included, instead a box with a X appears.

Here is the code that i am currently using

Dim htmlMess ' THIS STORES THE HTML CODE

PHP Code:

View Replies View Related

WDK6.Img2Html Object For Converting Images Into HTML Graphic

Many of you interested about the way how to convert images (for example
yours Jpegs) into ASCII graphics HTML. Well, in WDK6 that coming soon we
have added new component WDK.Img2Html that will do the work for you on fly.

Code:

View Replies View Related

My Options

i thought id post it and see what more experienced people think. With firefox now the browser of choice with people in the know their lack of VBScript support is causing me problems. If i want to say validate my forms i must now do it on the server-side (which is probably safer anyways). But things like pop-up warnings ??? or if i want to perform _OnLoad, _OnClick, _OnChange events , what do i do ?? or more to the point what are my options if any. What is the general opinion on using VBScript with ASP pages.

View Replies View Related

ShadowUploader With Other Options

The code for ShadowUploader works great for me when I have it on a page by itself. My problem arises when I try to add other buttons. The “Upload” button still works but the other buttons act like just another “Upload” button. What am I overlooking?

<% Option Explicit
Response.Expires = -1000' Make browser not cache pg.
Response.Buffer = True' Buffer content so Response.Redirect will work.
%>
<!-- #include file="~incl/ShadowUploader.asp" -->
<!--#include file="~incl/~config.asp"-->
<!--#include file="~incl/jpsutility.asp"-->
<!--#include file="~incl/menu.asp"-->
<!--#include file="~incl/misc.asp"-->

...............

View Replies View Related

Number Of Options

I have an ASP variable which is a certain number. I want to create a Select tag in a form, which will be populated up to this number. So, for example, if my number was 7, you would have a list of numbers between 0 and 7 to select.I'm not sure how to do loops, but I had an idea that the code would look something like this:
Code:

<select name="select2" id="select">

<%
for i=0 to i=varNumber
Response.Write ("<option value='"& i &"'>"& i &"</option>")
rsBooking.MoveNext
%>

</select>

but, as you might guess, this doesn't play!

View Replies View Related

Reporting Options

I need suggestions to allow my users the ability to print reports from my ASP application that will be quick and easy setup. I need them to choose an option such as

Print all checks for the current week

and receive an output of 1 page per employee . Currently I have the page so someone can view 1 employee on the screen and manually print. But I am looking for some web based report delivery method that will be quick to implement so the user can preview the batch of reports and then print. Similiar to if you were running a report in access.

View Replies View Related

Color Options

I was asked to incorporate colour options for items sold in my shopping cart such as pens.So if I am selling a pen that comes in 4 or 5 or more colours, then I have to create the number of types of collours for the pen. I am looking at creating a colour dropdowns for individual items , but I am not sure how I can do this in backend.I am using Access database and using ASP programming. This is the link which is an example of what I mentioned http://www.27905398.com/product_inf...9a4aed0a18fb81d .appreciate if anyone familliar with this function

View Replies View Related

Folder Options From Asp

I need to know how to do the following..

Rename a folder

Check to see if folder exists and if it does return an error message.

View Replies View Related

Sort Options

Can u help me generate a javascript to sort the options(list) in an asp listbox control?

View Replies View Related

Sql Function Options

My Current project requires the use of ASP.I've been able to pick it up fairly quickly, but I'm curious to know if there is a function similar to the php mssql_num_rows().
This simply returns the number of rows returns with your specified query. So far my search through this forum hasn't returned anything of the like.The closest I have seen would be to execute another sql statement to count the result first. Which seems to be alot of double work.

View Replies View Related

Reload Options

We are viewing the same page on my server in New York. I submit or send something in to an ASP, and it returns to me an updated page. How do I get it to reload showing changes for you in Florida who is just sitting watching the page not touching anything?

I have a frames page setup. When I send in info, I have this code to show changes for me by an automatic reload. it works for me:

<javascript blah blah blah

parent.frames[2].location = 'dataRecov.asp?view=rs';"

How do I update your page in Florida live?

View Replies View Related

ADO Connection Options

where I can get a full list of ADO options for opening a recordset? I'm currently using adOpenForwardOnly but I want my recordset to be able to move backwards to the start of a recordset and several other functions.

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

Email Options With CDONTS 1.2

I am trying to help out my friend by creating a invoicing page in ASP for his business, basically consisting of 3 pages :
(no sensitive info will be asked for.. )

1.info submission page -cust enters his info
2.info summary -cust info summarised plus quote calculated
3.invoice page -quote emailed for invoicing.

At present I have made the initial set up and it works fine. However, I am using CDONTS 1.2 to email the gathered cookies with the following code:

View Replies View Related

Shipping Options In My Cart?

I have created a few web site apps that use e-commerce technologies using ASP and XML. These are typical sites, with shipping, tax, blah blah. Usually it's standard shipping and is just related to the weight of the entire order.

Now, I've been asked to add several shipping options (i.e. Overnight, One-Day, Standard). My question...I did some searching around first but without luck...are the sites that offer multiple shipping options tied in with another company such as UPS? Or is it just more data that I can deal with on my own?

View Replies View Related

Split Screen Options

I have 10 athletes i will be testing and displaying their information

so there will be two split screens the bottom screen where the user enters the data and the top screen where the data will be sorted to show the ranking of the athletes Code:

View Replies View Related

Duplicated Drop-Down Options

The default drop-down value is populated by a value already selected using Recordset.

The problem is on the Edit page, the user should have the ability to change the drop-down value, but because the default value is one that has previosuly been selected, it appears twice in the list.

Because I already have an "If, Else" statement to disable some fields, it is causing confusion when I try to enter further If/Else statements to narrow down the drop-down list. Code:

View Replies View Related

Adding Form Options

I want to have a poll on a message board and add options by users clicking a button. The code looks something like this...

<INPUT TYPE=BUTTON VALUE="Add" ONCLICK="Add();">
<INPUT TYPE=BUTTON VALUE="Delete" ONCLICK="Delete();">

function Add()
{
// alter the action and submit the form
document.topicform.action = location.href + "1" ;
document.topicform.submit();
}

function Delete()
{
// alter the action and submit the form
document.topicform.action = "deleteformbutton.asp";
document.topicform.submit();
}

As you can see I'm not really sure how I should go about processing the actual form. Each time the user decides to add another form button I want it to keep the value of the old button. Anyone got any ideas?

View Replies View Related

Selecting Drop Down Options

I am trying to set up a component that will allow events that are date sensitive. From this date to that date. What I am trying to do is use drop down menus for selecting the dates, and I am having a hard time finding out how to build these drop downs so when someone is editing an event, the existing dates are pre-selected in the drop downs. But I need to seperate year, month and day for both and then have it change the value of the correct option to selected.What is the easiest way to do this?

View Replies View Related

Disable Windows Options

I need a script that will disable save, save as copy and select all Windows file and edit menu options.

View Replies View Related







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