Optional Params
can we write an ASP function with optional parameters?if the answer is yes,is there any refference i can use?
View Repliescan we write an ASP function with optional parameters?if the answer is yes,is there any refference i can use?
View RepliesI have an MS Word template and wish to substitute certain values into certain parts of the document. I'm going to open the word doc using FSO. Is there any way to pass parameters in to a word doc when you open it like this?
View Replies View RelatedI want to create a optional parameter in javascript function. How i create optional paramter with javascript function and how to use this function?
View Replies View RelatedI like to validate 2 textboxes. Users ken choose to enter either one. Therefore if nothing is entered for both, im suppose to prompt him to enter at least one. If he enters value into both txt boxes, I'll prompt him again. Dunno to post this here or @ javascript forum.
View Replies View Relatedhow can i declare a function that will accept an optional parameter?
something like:
function newFunc(strValue1, strValue2) --where strValue2 is optional.
I am trying to incorporate a search feature, and I am having problems thinking up some code to accomplish a certain thing: I have a page that allows a user to search for Industry-specific locations.
It is a basic form with City, State, Zip, radius fields. I also want to incorporate optional fields, such as the different types of amenities/facilities that the building offers. These amenities/facilities will have checkboxes. Code:
How can i pass optional values to a function? I tried this below which gave me an "Expected identifier" error:
FUNCTION cart_state_list(selectname, optional stateid as integer = 1)
If it were php here is the code
function cart_state_list($selectname, $stateid = 1)