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 strongm 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: *

  1. djhill

    Chrome/Safari (Webkit) query string missing buttons

    Hi again... finally got back to this. Here are a few clarifications: 1) the use of "var xyz = new Object(someOtherObject)" was a workaround, probably dating to IE6 or earlier. I'd found that in some cases, objects passed as method arguments and then assigned to a variable would yield "object...
  2. djhill

    Chrome/Safari (Webkit) query string missing buttons

    The pages using this framework use event handlers to manage validation and submittal; some pages use a hidden form for the actual submittal, in which case the form the user completes has no action attribute, so a form-level onSubmit() handler is inappropriate. The user form's buttons have an...
  3. djhill

    Need someone smarter than me to look at this

    Instead of depending on x going out of scope, try explicitly releasing it: ... x.send(null); x = null; ... If nothing else it will at least get collected sooner (maybe). As it is now, it doesn't go out of scope until the timeout expires.
  4. djhill

    Javascript Referrer Check

    I agree with Feherke, who must have a web security background ;-) I see "cgi" in the URL there, which in the old days meant standalone executables for each page, but I assume you're actually using a framework. Can you comment on which framework you're using, and on whether that framework...
  5. djhill

    Apache userID in JavaScript

    Martin, I'm not sure what you mean by the "Apache userid", which taken literally would be the user account under which the server is running. I really don't think you want to expose that! Assuming you meant the "userid" of the client on the browser, you *may* be able to get the value from one...
  6. djhill

    validate textbox

    I'd take Jason's a step further: use two forms, one with a "search by ID" button and the other with "search by Name" button, where each button is positioned directly below the relevant input fields. This should make it clear which of the field(s) the user should fill in without having to provide...
  7. djhill

    send variables via link without redirect

    You can use hidden forms to accomplish the same thing. The links would have an onClick() that invokes a function to populate the hidden form's fields with the values you want to pass. For example, assume you want to link to a help facility and every page sets a 'currentPage' variable. Then, *...
  8. djhill

    I'd like help with code

    Code spanning multiple lines shouldn't be an issue as long as you don't split in the middle of an object, method or property name. It can make the code more readable, and help in spotting errors. You didn't say in what way the code "doesn't work", but I see several issues. First, be aware that...
  9. djhill

    Chrome/Safari (Webkit) query string missing buttons

    I have a classic ASP site I maintain for a friend, part of which consists of a framework providing a "wizard" interface with navigation buttons (i.e., "Next" and "Previous"). The buttons have the same name and id of 'navButton', and have an onClick() event that invoke a function to perform some...

Part and Inventory Search

Back
Top