Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 2nd, 2004, 01:09 AM
Authorized User
 
Join Date: Apr 2004
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to pigtail Send a message via Yahoo to pigtail
Default Convert an ASP page to JavaScript

What are the basic things I have to do to convert an ASP page to a Server-side JavaScript? My ASP uses Session variables, access database, use the <META HTTP-EQUIV="REFRESH" Content="5;URL=trafficmonitor.asp"> method to query the database for data every 5 seconds and then display the data in a tabular format.

I also want to use the innerHTML to replace the entire table every 5 seconds without refreshing the entire page.

Any recommendation?

 
Old April 2nd, 2004, 03:43 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Sort of cross-post. Please see here: http://p2p.wrox.com/topic.asp?TOPIC_ID=11767 for any replies.

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old April 2nd, 2004, 03:58 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Well you just have to convert the VB Script to JavaScript. There are a few gotchas but if you know JavaScript it's not too difficult.

--

Joe





Similar Threads
Thread Thread Starter Forum Replies Last Post
convert Excel formula to JavaScript amwith Javascript How-To 3 March 7th, 2008 06:31 AM
How to Use JavaScript in an ASP.NET/VB page kwilliams ASP.NET 2.0 Professional 5 January 14th, 2008 03:30 PM
Convert JavaScript OK/CANCEL to VBScript timmerdfw VBScript 0 January 4th, 2007 03:42 PM
passing data btwn asp page and javascript include Justine Classic ASP Professional 8 August 20th, 2004 02:23 AM
Convert SMTPsvg.Mailer to JavaScript hoffmann Classic ASP Databases 2 August 20th, 2003 10:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.