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 Jeremy21b

  1. Jeremy21b

    cookies on another domain

    Well I made the mistake of making a thread before searching the forum. I just set the cookies to ".domain.ext" instead of "www.domain.ext". That made the cookie accessible on both domains.
  2. Jeremy21b

    cookies on another domain

    Is it possible to access cookies for another domain? Our website has an admin section, but it's all on a secure server. So the address starts with https and the cookies are separate from the main website cookies. I want certain features of the main website to be slightly different if a user...
  3. Jeremy21b

    application variable

    I have been using ASP for years, but am now just learning PHP. I'm creating a website which I want to use an application variable. Does PHP support this? Here is the scenario: The website is for my parents to use while living overseas. One feature that I wanted to include was a basic...
  4. Jeremy21b

    Does Listbox Exist

    Instead of checking to see if the listbox exists, maybe check to see if some type of save variable is set. Another option might be to make the listbox invisible instead of removing it completely. Some code would help though to what would work.
  5. Jeremy21b

    Update quantity in stock

    You might also need to put single quotes around the order id like this: WHERE orderID = '"& intOrderID & "'" It might not be correctly finding the end of the sql query.
  6. Jeremy21b

    SELECT Distinct and Absolute Page

    I have a product search page that uses two different SQL queries. If they search by size it is just a regular SQL query, but also retrieves all the size info. If they search by brand only, it uses a select distinct and excludes and size info. It all works other than when the person tries to...
  7. Jeremy21b

    Check box

    The DIV is most likely your problem. I think it might cause problems directly referencing the form elements. As a test, tempoarily remove the DIV. The might be as simple as adding the name of the div to any javascript references to it's elements.
  8. Jeremy21b

    Little help merging some ASP and JS

    You will need to reload the page to do the 2nd SQL query. What I would do is add the following to the first select menu: <select onchange="javascript:document.f.action='<your current asp page name>';document.f.submit();"> Then for the 2nd drop down menu, do a check to see if request.form("s1")...
  9. Jeremy21b

    button display page

    try onclick="document.myform.submit();" I usually use that within a form, but it should work outside too.
  10. Jeremy21b

    asp jump menu

    As far as I know it is not possible to change the variable on the fly. An ASP page is processed on the server and sent to the browser as an html file. So to change your SQL query, you'd really have to reload the page so that the server can process the new sql squery. We do exactly what you're...
  11. Jeremy21b

    dynamic dhtml menus

    speaking of spelling...I meant mmLoadMenus, not mmLoanMenus
  12. Jeremy21b

    dynamic dhtml menus

    Instead of trying to write the category within the function, you could just pass that information to the function in the function call. I assume you have the function call in the body tag onload event. Change onload="mmLoanMenus();" to onload="mmLoanMenus('<%= rsJewlry("category") %>');"...
  13. Jeremy21b

    form auto submits

    Yeah I was going to try a conditional statement similar to that, but didn't think it would process. I think I might be stuck rethinking the entire logic and trying to eliminate that middle page.
  14. Jeremy21b

    form auto submits

    When someone clicks on a button on my page, it goes to another page that does some parsing and then autosubmits a form. This takes them to a new page. This works fine, unless they click back. Then they get to the page that just autosubmits a form. The page says: 'warning: page has expired'...
  15. Jeremy21b

    Force users to click the Submit button

    I think you would essentially have to use the spam technique of loading a new popup window on exit. The form would submit to that popup window on exit. The window could be automatically closed after saving the data. The Javascript forum would probably be able to assist with actual implementation.

Part and Inventory Search

Back
Top