Get Sub Price Automatically.
i have 3 textfields: txtPrice, txtQty and txtSubPrice.
price for an item will be fetched from db at display in the txtPrice (i can do this). then, user just key-in the quantity for the item and automatically the sub price will appear in the txtSubPrice.
i have coded a function name CalculateSub() using javascript and tried to do the automatically calculation using onClick and onFocus at the txtSubPrice but failed. seems like textfield cannot has this function.
View Replies
ADVERTISEMENT
I am trying to add the price and shipping to equal the total price and display it in a table(receipt) I am able to get the price and shipping and handling to write to the page, but not sure how to add them together to get the total price:
The below code gives me $40.00$ 3.00 I want it to show as $43.00 ($40 + $3.00)if they ordered 500 business cards or $75.00 ($72 + $3.00)if they ordered 100 business cards.
<%
quantity = Request.QueryString("quantity")
If (quantity = "500") Then
price = "$40.00"
Else
price = "$72.00"
End If
%>
<%
shipping = "$ 3.00"
total = (price + shipping)
%>
View Replies
View Related
I have a search form which has a price drop down menu with diferent values.
In this list there is an option "Any price" its value is "%" and the results page its retrivig a full list of items with any price.
Waht I want to do is that if you select 150.000 from the list, the results page should retrive items from 150.000.
View Replies
View Related
Does anyone know of a quick and easy way to stream a particular share price
eg: msft into one's website....I have done a google search but I am not
finding anthing specific...is there an asp solution?
View Replies
View Related
Using classic ASP, are there any examples which I can use to show a stock price of a particular stock.The URL I am looking at is:
http://quote.yahoo.com/q?s=MSFT
Is there a way that the page will directly update the intranet page with the stock price of the indicated stock?
View Replies
View Related
I need to use excel price function in asp.How can I use below formula ina asp.
PRICE(settlement,maturity,rate,yld,redemption,freq uency,basis)
Pls check the attachment below.I don't know how to apply this kind of formula in vbscript.
View Replies
View Related
how i can have a fixed 2 decimal space for price of an item.i have the code shown below but the result shows more than 2 decimal space or even 1 space. Code:
<%=formatnumber(rsProdInfo("Unit_Price"))*(GST)+ formatnumber(rsProdInfo("Unit_Price"))%> ...
View Replies
View Related
I have looked all over the net and even down the back of the sofa but I've been unable to find any scripts that allow me to add price comparison functionality to my shopping cart. where a script might be or even offer some pointers as to how I might go about doing this.
View Replies
View Related
Does anyone know an easy way to put a current gold price on your own website? I've seen the graphic methods that Kitco.com offers, but I'd rather have it pull the value from some gold market system in text format. Code:
View Replies
View Related
I've just launched a web site that sells collectibles. To do this I've got a ASP shopping cart with a checkout process.
As all the prices on my site are in Australian Dollars, I' trying my very best to find a way to display the total price in USD as well....
Eg:
Total Price : $ AUD 100.00
Total Price : $ USD 79.00 (real time rates)
I need to do this because I also want to Accept PAYPAL account payments which cannot be made in AUD.
View Replies
View Related
I have asp code. I would like to run it automatically by time interval using wondow schedule, but it can not be excuted. Is the reason that ASP is not executable? If so, how to run asp using window schedule?
View Replies
View Related
I'd like to set-up an ASP page that emails shoppers 30 days after they've purchased an online product.
Constructing an ASP page that searches the database and if the datediff of the order date and now() = 30 to send out an email shouldn't be that difficult. But is there a way to have it run automatically?
View Replies
View Related
I need to set up an asp script that will be run at the beginning of each day. How can I get this page to be opened at a certain time each day?
BTW - My page is to update a database, where based on a timestamp stored in the database, will deem records valid or invalid.
View Replies
View Related
when write open asp code in front page it automatically insert a </formtag in appropriate place. what is its cause and how to stop it.
View Replies
View Related
how do i automatically delete records on date submitted
View Replies
View Related
if there is a way to use asp to automatically (i.e each time the source table is updated) take data from one table in an access database and add it to another table.
This would include getting data from multiple columns in the source table and concatenating it into one in the destination table.
View Replies
View Related
Pls what code can i use to automatically close and asp page after execution.
View Replies
View Related
I am building a database that users will update.
I have a table named "products".
Every product has a shelf life of 3 years and expires exactely at the end of the 3rd year.
Here is my table:
Productid ---- int
productName ---- varchar
manufacture_date ----- datetime default (getdate)
Expire_date ----- datetime
What I want is this, whenever a product is entered, the defualt date is the date the entry
was made. (I am using the "getdate") to automatically grab this.
BUT I also want the "Expire_date" field automatically calculated and then filled in.
That is, a user enters a product "manufacture_date" as 05/22/2003,
Then I want the expire field to be filled with 05/22/2006.
My preference is to handle this on the DB site and not ASP.
View Replies
View Related
To create a asp file in a wbserver as a interface for the IPphone and the internet. As IPphone can only have GET function ( that means it can't POST thing to the internet).
The asp file's concept is that the file is firstly read the data sent by the IPphone and then encode them into html format and then POST them to the required website. However, i only know the following method to POST. Code:
View Replies
View Related
Let's say i have a text file on the web server callled "text.txt". And I have another text file on my computer called "text2.txt". I want to somehow write the contents of "text2.txt" into "text.txt". (or even upload the file from my computer to the web server)
View Replies
View Related
I have a problem with IIS 6.0 + IE 6.0. I'm POSTing back to an ASP page a long lists of IDs used for sending emails (>10.000). This process takes more than 30 min. The problem is that this process is automatically restarted by posting again all the data. I checked ASP page and there is nothing to reload the page. But after more than 30 min. (changed the timeouts) the process simply restarts by posting again the full list. I only need to
execute this page once.
why the whole process restarts posting back data (is not a simply GET, but POST)? There is no F5 / CTRL-F5 or Back buttons. It simply re-post data, without an error. It's my ASP page wrong? Or something wrong with IIS?
View Replies
View Related
I want to add in my website a share rate and which changes automatically. how can i dispaly it in website what i have to do for that. I dont want to be linked with its website bu t i want to be displayed it in my web site.
View Replies
View Related
IIS in our server is shutting down automatically on its own. I don't know what is the problem?
View Replies
View Related
I have created an application in ASP and want ot install the same into another machine but want to do in a manner such that all the programms should automatically install in InetPub directory.
I can think of executing this by cretaing an exec which will identify the inetpub and then installing the programms into it.
View Replies
View Related
This is the message i get when we have our application running using our own ISAPI code, it desapears when we don use the ISAPI filter, Can anyone help, It seems IIS assumes that we have a virus as stated by microsoft Message
IIS ADMIN SERVICE TERMINATED UEXPECTEDLY XTIMES EVENT ID
7031
SMTP SERVICE TERMINATED UNEXPECTEDLY XTIMES EVENT ID 7031
FTP SERVICE TERMINATED UNEXPECTEDLY XTIMES EVENT ID 7031
It only happens when we are using our own ISAPI FILTERS .
View Replies
View Related
Is there any script which can delete a webpage after a given time-period within that script?
I want a page to be deleted after a desired time and to not work untill reupload or recode.
View Replies
View Related
I need some free tools that would allow me to automatically send e-mails to somebody acoording to the current date (e.g. if I have a table in a database with some fellows and their birthdays, I would like to automatically send them a greeting e-mail, when their birthday is). I would preffer that tool be installed as a service.
It will be just fine if I will be able to use this tool in an ASP site.
Otherwise, how could I program such a tool (and what language would be the most appropriate)?
View Replies
View Related
I would like to run an ASP page each day at the same time automatically. it reads from my product data and ftps the data to another server.
I am running on a windows system with IIS I have no idea where to begin. Is there anything else I can do? it is not my own server so I don't have access to server. I can just ftp.
View Replies
View Related
I have a page shows the news from the database, normal thing. but how can we make the latest news show after 24 hours, since the shown one will remove from the page and the newer will appear.
View Replies
View Related
Ive made an upload on my site so its possible to upload videos through my site and thier then output into a folder, is it possible for me to
1. Convert those uploaded video into 4 diffrent File Types (ipod,3gp,avi and mov)
2. tehn move the converted videos into another folder automatiaclly after being converted into their new file types.
View Replies
View Related
I have a form that has 2 text fields. Field one is start date and field two is end date. I want field one to automatically be filled in when the Web page is opened with DateSerial(Year(Date()),Month(Date()),1) which should give me the first day of the month. Field two should be automatically be filled in with todays date. How do I do this?
View Replies
View Related
Is it possible to write asp file which create some text file and then save
in local drive automatically without human interaction?
View Replies
View Related
For a project I am doing I would like to offer customers the chance to recieve notifications of an order by e-mail, SMS or MSN messenger. Is this possible using asp and without spending any money!
View Replies
View Related