Ask a Question related to ASP.NET General, Design and Development.
-
sramruttun #1
comparevalidators and javascript
hi
I have 2 textboxes for entry of start and end dates. I allow typing in the
textboxes also. I have 2 compareValidator fields as well to validate the 2
textboxes which work fine. Upon text change (onchange event) of the
textboxes, I have written a javascript function (called formatDate) to
format the date - that is, if the date is in format 1/1/2003, the function
will format it to 01/01/2003.
Normally, when the textboxes lose focus, the CompareValidators are executed
automatically. I don't know whether the function is executed first (the one
that I wrote on onchange event) or the compareValidators ?
My question:
I want to call the validators first then call the function i.e if the
validation succeeds then I want to call the formatDate function and if the
validation fails then don't call the formatDate function. Is this possible ?
sramruttun Guest
-
Include javascript in a javascript file
Hello, Is there a way to include a javascript file from WITHIN a javascript file? Something similar as in the "#include" directive in C++? ... -
cfm to htm & javascript
We just upgraded from 5 to MX 7. We have a page that we flatten from cfm to htm. There are popup window links on the page in the form of... -
output text in control location; calling control javascript from page javascript
Hi; If you don't know, I'm just learning javascript and aspnet, but I have a pretty good grounding in windows programming. I'm trying to build a... -
JavaScript - How do you add an action to the JavaScript action menu
Greetings, I'd like to add custom script(s) to the drop down list of actions in Acrobat. We are creating an app where many authors will be... -
need javascript staff (anyone who knows javascript peroid) (READ)
hey its me ultimategamerx and im back in some clothes lol i need some people who know java script i need help please reply if ya know some



Reply With Quote

