Server-side VBS ... Any code that runs on the server can safely be left in VBScript. (You do have the option, of course, of moving your server-side script to JScript - something I certainly prefer - but that's certainly not required.)
However, don't forget that it's common for your server-side code pages to generate (or simply contain) client-side code. That code will need to be JavaScript. I don't know of any comparison of VB with JavaScript. However, pretty much every construct you can use in VB has an equivalent in JavaScript. It's simply a matter of chasing down the specific construct you want to convert. Dave S ----- Original Message ----- From: The Professional Network To: ASP Developers Sent: Tuesday, December 28, 2004 2:32 PM Subject: [ASP] VBS to Javascript Being the Microsofty that I am, I have been writing my webs sites using VBS. Now that I am writing to a more general audience, I need to change over to JavaScript for the FireFox and Netscape users of the world. Two immediate questions: Obviously, my client-side scripts need to be changed. Is the server-side browser independent, given that ASP is interpreting it, or do I have to make changes there too? Does anyone know of a web site with a good side-by-side comparison of VBS and JavaScript, at least for the most common functions? TIA, Far Farley www.TheAccessWizard.com <http://www.theaccesswizard.com/> [Non-text portions of this message have been removed] --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [email protected] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Sponsor ADVERTISEMENT ------------------------------------------------------------------------------ Yahoo! Groups Links a.. To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> $4.98 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/17folB/TM --------------------------------------------------------------------~-> --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [email protected] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
