thank you! that is searching through the array and creating a new one with the search matches perfectly :)
i need to narrow it down a bit more though:
is it possible to search only a specific key in the array, instead of all the keys? For example, if the user chooses to sort by gallery, i...
I am creating an image gallery which puts all images into an array, and then sorts them accordign to variables specified in the querystring. For example, only images belonging to a certain gallery name will show if the gallery name is defined in the querystring.
I want search for a keyword in...
i have a form which allows users to submit photographs via email (the mail is sent out through the web server). before uploading the image onto the web server to send the mail - i want to check to make sure it is of a certain size and type, and reject any images which do not meet those...
I am trying to create a select box dropdown menu. Upon click of the go button, the user will be taken to the url selected in the option list.
The problem is, I'm using an image for the go button, instead of an actual button, and the following script isn't working. It's concatenating the url...
I am creating an upload tool using aspsimpleupload.
I want to make sure the file the user uploads is a jpg, and under 1mb before the actual upload is allowed, so there are no malicious uploads. is there any way to do this? does aspsimpleupload store the file temporarily before uploading? i...
thanks - I don't get an error message - the content loads, but the "egg timer" appears and doesn't go away - the status bar also remains active and doesn't fully complete the loading of the page.
I'm not sure what the problem could be?!
Is there a way to capture the content of a div on a page using ASP? The main content of my website is in a div of it's own, and I would like to create printer freindly pages that print only the content of that div in a new/same window. I know this can be done with Javascript, but it makes...
My website is set up so that the main body content is containted within a div. I would like to create printer-friendly pages which show only the content in the div.
I am able to do this with the following code, but it hangs in firefox and netscape. Is there another, better way to capture the...
thanks :)
I think i'll stick with my current method, unless the number of checkboxes increases - right now it's pretty manageable!
thanks for your help! :)
thank you, that works fine!
i am assigning session variables through this method, which loops through the form fields and assigns accordingly:
For Each Field in Request.Form
TheString = "Session(""" & Field & """)= ParseQuotes2(Request.Form(""" & Field & """))"
if Field="submit"...
i have a form where the user can click a checkbox, and when the form is submitted, that value is passed into a session variable. the user can go back and edit the form and uncheck the checkbox.
the problem is, when the checkbox is unchecked, the session still holds the old value as if the box...
ok, i figured it out..sorry to bother you! here is my solution:
function clearDtBx(dt1,dt2,dt3)
{
document.mtgapp(dt1).value="";
document.mtgapp(dt2).value="";
document.mtgapp(dt3).value="";
}
i have a function which clears textboxes when a radio button is clicked. i have tested it, and the value of the variables is being passed correctly, but i'm not sure how to write the syntax to call the variable when clearing the form the following way:
document.mtgapp.(dt1).value="";
dt1 is...
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.