English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I would like to add a simple web application to my site (http://www.psychresidentonline.com/) that will convert benzodiazepine drug dosages. All it needs is (1) a drop-down menu to select the drug your switching from, (2) the dosage of that drug, and (3) another drop-down menu to select the drug you're switching to. Then a "CALCULATE" button that will show the dosage of the drug you've switched to. I know HTML/CSS and some basic programming (I've dabbled in VB). My server (godaddy) doesn't support .php. So, what can I use to make this? This can be a simple client-side application, correct? The program itself is just a little arithmetic using conversion factors. Can this be done with JavaScript? Help. I just don't know where to begin.

2007-08-01 00:29:15 · 3 answers · asked by knasky 1 in Computers & Internet Programming & Design

3 answers

You can use javascript for this, it supports pick lists and you can pass variables etc... You can also structure it into functions and routines which you can pass variables to/from

2007-08-01 00:34:27 · answer #1 · answered by csjjpm 3 · 0 0

Right, you could write something in Javascript to convert dosages from one medication to another, but won't your patients wind up having to cut their pills into weird sizes if the exact dosage isn't available in their brand name of choice?

Seems like this is a good idea but would be very hard to implement reliably ... and the penalty for screwing it up seems potentially enormous.

2007-08-01 11:44:09 · answer #2 · answered by Kent Brewster 3 · 0 0

Certainly this can be done with Javascript but as you already know vb why not use vbScript.
See link below for tutorial of both script languages.

2007-08-01 07:48:53 · answer #3 · answered by AnalProgrammer 7 · 0 0

fedest.com, questions and answers