473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Calling function ValidatorValidate(val)

Hi All

I am trying to call "function ValidatorValidate(val)"
from "WebUIValidation.js" with Javascript but dont know
what the function is excpecting.

On "http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnaspp/html/aspplusvalid.asp" val is a
a "client-validator" but what is it exactly in
javascript, the span ID?

I am trying to triger this from a child page to validate
the main page useing teh follwing but again dont know
that to pass(vldEndDate is the span ID?):
window.opener.ValidatorValidate
(window.opener.document.vldEndDate)

Thanks in advance

Jake
Nov 17 '05 #1
1 7169
You need to pass it a reference to the validator object
you are trying to trigger validation for. This means that
in your javascript, you must first find the correct
validator using the document.getElementById(controlName)
method. For example, if your validator control has
id="cuvValidateSelect" then you will need to do something
like this in your javascript...

var valControl = document.getElementById
("cuvValidateSelect");
ValidatorValidate(valControl);
-----Original Message-----
Hi All

I am trying to call "function ValidatorValidate(val)"
from "WebUIValidation.js" with Javascript but dont know
what the function is excpecting.

On "http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnaspp/html/aspplusvalid.asp" val is a
a "client-validator" but what is it exactly in
javascript, the span ID?

I am trying to triger this from a child page to validate
the main page useing teh follwing but again dont know
that to pass(vldEndDate is the span ID?):
window.opener.ValidatorValidate
(window.opener.document.vldEndDate)

Thanks in advance

Jake
.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Abby Lee | last post by:
You all have been much help with my javascript needs...but I need you again. Mike gave me this...to add up any of the 7 columns that are changed. function autoReimb(val, itm) { var e =...
51
by: Richard Hengeveld | last post by:
Hi all, I'm trying to understand how pointers for function parameters work. As I understand it, if you got a function like: void f(int *i) { *i = 0; }
2
by: David Rose | last post by:
I have a DLL (not .NET) that takes a function pointer argument and calls that function with an integer argument. The DLL is being called from C#. So far, it is partially working, but the...
7
by: Goldie | last post by:
Can some please look at this function and maybe help me with why it's not doing as it's told... :) It's basicall meant to check to see if that field returned from database actually has any data...
2
by: Sally B. | last post by:
Hi, I have a main page that opens a pop up window when the user clicks a link. The pop up window is a menu and when the user clicks the item, it populates a form input element on the 'parent'...
2
by: mosesdinakaran | last post by:
Hi everybody, Today I faced a problem where I am very confused and I could not solve it and I am posting here.... My question is Is is possible to return a value to a particular function ...
4
by: whisher | last post by:
Hi. I'm taking my first steps on regex I set up this simple function to check if a form field is empty or with only space. var onlySpaceRegexp = /^\s*$/; function isEmpty(val) { if...
4
omerbutt
by: omerbutt | last post by:
hi there i am making an application in which i have a drop down menu which onchange passes a value(this.value) to a js function which gets the value and calls an ajax routine and passes that value...
4
by: istillshine | last post by:
I have a function foo, shown below. Is it a good idea to test each argument against my assumption? I think it is safer. However, I notice that people usually don't test the validity of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.