Has anyone had any success getting an IIS "Custom Errors" webpage to execute as a CF page (in other words, replacing one of the standard MS pages that gets displayed when a page cannot be found with a customized CF file)? I can get it to run the page, however, it only displays it as an HTML...
Does anyone know if it is possible to display/access environment variables purely in HTML? There are numerous ways to do this with CGI scripts, Server Side Includes, ASP, Coldfusion, etc..., however, I think that I need to be able to do this purely in HTML....
We are in the process of...
I've got a form page where I'm using onChange in a Select statement to update an input field. My problem is that instead of just updating the one field it is updating everything and I can't seem to limit it for whatever reason. Maybe it needs some kind of ID or something???
Here's a demo...
Can you pass a JS value from one function to another? I was trying to do something like this:
onchange="saveoriginaldate();dateStringCheck(Requisition.need_date.value)"
Just in case anyone references this thread later I finally did find a pretty simple solution to this problem. Rather than fight the onchange issue I decided to just accomodate it. I moved the "clearing" statements (in bold below) up into the already-being-called intoWaitingRoom function which...
Sorry one quick (hopefully) followup. When the script above throws the "error" message ("Bad Date"), how would you have the script change the value in the input field back to the original value? Thanks again.
Just for anyone referencing this thread later, I modified Kaht's excellent "teaching" script to accomplish the original request in one simple file (note that I changed the date format to mm/dd/yyyy):
<script language=JavaScript>
function dateStringCheck(str) {
var today = new Date();
var...
Thanks everyone for your help!
cLFlaVA: Your snippet works but has the same problem.... Today is Aug 3rd. If I use "08/03/2004" it still prompts me (i.e. it won't accept it). I need it to take the date 8/3 on (inclusive) and not take the date 8/2 backward. Note that I tried changing the...
I've been having trouble getting this snippet to work. I think the issue is related to the time but it seems to bomb whenever the date is within a day or so (or equal to) today. Essentially all I'm trying to do is check a date input as mm/dd/yyyy and verify that it does not occur before...
Can you give me some additional insight into what you mean by:
Rewriting the quirksmode code is really beyond my ability at the moment (I'm just a JS hack).... All I'm really looking to do is have the chemical name & HMIS values (health, flammability, etc...) erased if someone changes the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.