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!

Search results for query: *

  • Users: spastica
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. spastica

    how to get rid of whitespace when showing/hiding divs

    I have divs containg text/form elements which show and hide depending on options the user selects. the problem is, when the divs are hidden, there is whitespace in place of wehre the divs should be, so it looks like there are huge gaps between lines on the page. is there any way to get rid of...
  10. spastica

    form validation problem with divs within form

    i have a form with a set of divs contained within it. these divs contain form fields. the contents of the divs change according to options the user selects on the form. So, for example, if a user selects "other" in a dropdown menu, a div inside the form will be populated with a textbox for...
  11. spastica

    problem calling an onchange event with dropdown menu in div

    i have a dropdown menu that is contained in a div. when the user selects "other" from this dropdown menu, a function is called onchange and a textbox contained in a seperate div automatically shows up. this works fine in explorer, but is not working in netscape or firefox. if i take the...
  12. spastica

    session variables - should they be put into local variables?

    I have creating an editable online application form which uses session variables for all form fields so that users may go back and edit their info before submittign the form, which is emailed from the server side. before the users submit, they are presented with a page with all the details they...
  13. spastica

    change value of drop down menu onclick of radio button

    I want to create a function so that when a user clicks on a radio button, a select box drop down menu option is option is changed. here is what I have, and it doesn't work (it does change the html on the page, but that isn't what the problem is - i want it to also change the option value in...
  14. spastica

    asp - records not updating - access database

    I am using asp with an access database. I have a column with "ListOrder" that specifies the order each announcement is placed in on the website. I want to automatically update this column each time there is a new entry, by increasing the list order by 1 for each entry that has a list order...
  15. spastica

    populating div onchange of select box

    I have a dropdown menu with various options. I would like to create a function where if one of the options is selected, a div on the page becomes populated with a text box. I am using onchange on the dropdown menu to call in the following function, and am getting the error "'referralMeth' is...
  16. spastica

    applying function by looping through variable list

    how do i loop through a list of variables, and apply a function to each in a loop (instead of indivudually) for example, right now, i am using the following function, and calling it for each variable: <% Function ParseQuotes( _ ByVal strToRenderSafe _ ) ParseQuotes =...
  17. spastica

    parse double quotes in variable string

    i am getting info from a form, and then setting the form field values into session variables using request.form to get the form values. these variables are then passed on and emailed to a user. the problem is, some of the form field values have double quotes (eg. "one") and these are causing...
  18. spastica

    write to page instead of to textbox - document.write not working

    I have a javascript calculator that calculates payments. users type their balance owed into a form, and then click on a "calculate" button which calls in the function below, and interest rate paymetn is calculated and shown in another textbox on the form. the problem i'm having is this...
  19. spastica

    if..else statment giving syntax error

    i have a quicklaunch dropdown menu containing links to different pdf documents. when a user selects one of the documents in the dropdown, the documents opens up instantly in a new window. this works fine, but the problem is, one of the options is not to launch a document. instead, it is to...
  20. spastica

    making sure there are 2 spaces after decimal in a string

    I have a set of records in an Access database, and I would like to check them to make sure there are 2 characters after the decimal point, and also find out if there is a decimal point in the records at all. I have been trying to do this with the InStr and Right and Left functions, but I...

Part and Inventory Search

Back
Top