Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by spastica

  1. spastica

    Searching and sorting array by keyword and displaying results

    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...
  2. spastica

    Searching and sorting array by keyword and displaying results

    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...
  3. spastica

    parsing http header to determine size and type of file being submitted

    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...
  4. spastica

    asp upload - validating image size and type before upload

    thank you - but we don't have any other components, there is another way i am thinking of. post coming up...
  5. spastica

    Jump menu - image button not working

    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...
  6. spastica

    asp upload - validating image size and type before upload

    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...
  7. spastica

    caputring content of div for printer friendly pages?

    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?!
  8. spastica

    capturing content of DIV with asp?

    thanks :) but how do i do that with ASP?!
  9. spastica

    capturing content of DIV with asp?

    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...
  10. spastica

    caputring content of div for printer friendly pages?

    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...
  11. spastica

    checkbox not recognized as unchecked, new value being passed

    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! :)
  12. spastica

    checkbox not recognized as unchecked, new value being passed

    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"...
  13. spastica

    checkbox not recognized as unchecked, new value being passed

    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...
  14. spastica

    calling in variables to clear form fields

    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=""; }
  15. spastica

    calling in variables to clear form fields

    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...

Part and Inventory Search

Back
Top