Would it be possible to store javascript document.forms[0].value to ASP session as global variable? If it is not possible, how can I pass the javascript document.forms[0].value to ASP/vbscript function? I need to pass the javascript value to ASP/vbscript function because I have to store the javascript value into database.
I can't use Request.Form for getting field value. Because there is a submit button in the same form for calling email function in another ASP page.
I am presently saving a word document to an access table in a OLE Object field. I retrieve the document and display it fine.
I would like to retrieve information from one of the other tables and merge the two together. And then display the new word document. Inother words do a mail merge or replace.
Now when the first time the form is loaded i want field2, field3 and field4 disabled and only field1 to be enable.Now after the user enters the CustomerId, i want to do database look up(need for ASP comes here) and populate the field2 and field3 and enable all the fields...so that the user can add AdditionalInfo.
I am not completely aware of how to mix both ASP and javascript for this...can this be done on one form because we need to look up database after the user enter the CustomerId and populate the other fields.
I am trying to create dynamic dropdown boxes that query sql. My scripts and pages work in IE, but they do not work in Firefox. Here are the relevent snipents of my code:
I have a form, where it contains 4 text input fields, and one dropdown list. Depending on the user choices on the dropdown list i want to automaticly write the results in the 4 text input fields.
The catch is this values come from the database.
Basicly the drop down list contains : .Address 1 .Address 2 .Address 3
And when the user picks the Address 1 i want to display in the other 4 text inputs the address 1, when it picks the Address 2 i want to display the address 2.
My logic on this is put all the address available for that user into an array, and in some way create a java script where onChange of the dropdown list, send the values of the array and then appear in the 4 input box.
Please can you point me in the correct direction ? Some links to examples or just your logic on doing this?
I am trying to write javascript which will enable or disable a control on client side. I am writing a sample code here in VB but it will not work on client side, I need same kind of code in Java:
Function SetControl(ByVal ControlName As Control, ByVal strAction As integer) If strAction = 0 Then ControlName.Enabled = True Else ControlName.Enabled = False End If End Function
this code will not work, it is just an example and I need this kind of script to place on the top of my page which I can use on client side.
I am looking for some ASP - SQL server 2000 online store application that i can buy for my company. This store is completely internal for the company and will be on our intranet server and will be utilized by the company employees to buy company merchantdize.
Also at this time there will be no credit card processing as the amount of purchase will be deducted from the payrol. I will be needing the shopping cart and product view. Later if we provide the credit card processing, we have already installed PayFlowPro from verisign and do creadit card procesing on our main site.
Does any one know such application that i can integrate with our style sheets and general layout?
I am using ASP and VBScript to access an Oracle database and display query results to my users. However, my query is huge! and I want to keep the query separate from my ASP/VBScript code. How do I store the query on one page and then call it from another page?
I have this problems regarding "storing New values into session". Take the "online movie tix booking" as an exmaple. When i click on one seat, beside storing the seatNo into a session, i also want to store the number of seats he has clicked throughout. How can store the incremental of seats clicked into a session by overriding new Values
i am stuck with the following error message "Application uses a value of the wrong type for the current operation." did anyone know the reson this occur? just because of my store procedure....
what is the diference between these two cache control header.no-cache and no-store.I have read the w3.org explanation.So lets say I am using only no-cache ....my understanding is thatnothing is cached and nothing is writen to disk.but what happens when we use no-store....i think..nothing is written to disk but it could be cached. Now my question where is this cache located...is it only in memory ?....if it is written to disk how log is it there and when does it gets cleaned.Is no-cache more secure than no-store ..why?
I'm having need of storing a recordset in a collection tempararily. Can I hold a record set in a Collection object ? Any other way of holding a record set is also works, except arrays.
I've been trying to come up with a method to store the values of a forms variables into a basic text document, say a notepad txt file. Its a windows server that im experimenting with and I'm not experienced with PHP, so im trying to find a easy way via either javascript/html or asp.
Does anyone know where I can find on the internet a good web site that can explain to me how a Store Locator script works using ASP and a SQL database?
when some data is being into my database, most of the data is recieved from a form. 2 of the fields are dates, but looking at the db (access) the dates are stored in the '38307' format. - is this the standard way access stores dates?
Now, how do I get it to enter /todays/ date into a column? I thought it would be something like RecordSet.Fields("LogDate") = today() but this is wrong, right?
The other date, is to be entered by the user in the form. Now, what is the best way of going about this? It will be in a different column, but in the same format. My default, it would be 'todays' date, but needs the option of being changed. Any ideas? Code:
i m creating a site using asp in which i will collect user details, means their names, address, other information along with their pictures, so please can any one help me by telling how can i strore pictures in sql sever using asp. in very long detail. and how can i retrieve snaps from data base to display on the pages.
I have made a registration form for adding my friends information in a database. The problem is that I want to connect the persons with companies in the same database. I wonder how i could connect a person to several other id's in a table.
I wonder if I can make a string in the database that holds all the id's separated with , for example....?
the string would then look like this: 1,4,6,22,56 for example...
But how can I then open this string and separate the numbers from the , ???
I usually create a db.asp file, and include it on each page i need the db connection, but where do you think is the best place to store the db connection? anything a bit more secure?
I want to maintain the user's session variable while moving from HTTP to HTTPS. I learned that you can store the sesison in a database, but I am not sure about the logic behind this method.Can someone explain how this works?
i'm looking for a script that would help me establish "find the nearst store to you, enter your zip code here" i have the DB with the stores and i want some help with this?
how much it would cost to make a proffesional looking online store (to sell computers). Make the items customizable, make it bill the user, and print the specs out to a file? I have no asp expirence, i was wondering how long it would take or how much it would cost.
How do I take an image from <IMG SRC>? Meaning I can not insert the image with the Upload method, I have to take it directly from the <IMG SRC>. Is there a possible way to do that?