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

    Public DTD entity files

    I am creating an atom feed, and I am confused about including external entity files as DTDs. My goal is to include the entity definitions in my xml as external files instead of putting the definitions inline. At the top of my document I have: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE...
  2. elliottmina

    Constant treated as literal when concatenating at beginning of string

    I am trying to build a string using a constant, but if I do so with the constant at the beginning of the string, it treats it as a literal. For example: use constant FOO => "abc"; print FOO . "def"; # prints FOOdef print "" . FOO . "def"; # prints abcdef Any advice? Thanks!
  3. elliottmina

    Capture right click target

    Is there any way to capture a user's right click behaviour, including what option they chose. For example, I right click on a link, and choose "save as". I want to tie a javascript function to that action. Thanks!
  4. elliottmina

    Capture form submit

    Perfect! Thank you very much!
  5. elliottmina

    Capture form submit

    I have a page that includes a form I cannot alter. I want to capture it's submission, and do some validation. My code works fine in Firefox, but nothing happens (not even an error) in IE. if (window.addEventListener) window.addEventListener('submit', myFunction, true); else if...
  6. elliottmina

    Firefox, prevent submission

    Sorry for wasting your time. Looks like a unrelated script was failing and mucking it up. Thanks
  7. elliottmina

    Firefox, prevent submission

    I am trying to hijack an existing form and use it for a different purpose. Unfortunately I cannot just change the form itself. :( When the form is submitted throuh clicking the submit button, or hitting the enter key on an input field, a function is called to validate the form and then...
  8. elliottmina

    Placing Javascript inside of PHP file

    Using heredocs can help a lot. http://www.webhead.cc/main.php?inv=68&page=5
  9. elliottmina

    check if js variable is set

    Thank you!
  10. elliottmina

    check if js variable is set

    What is the best way to check if a variable is set? If it unset, then I can check its length, but I haven't been able to find any functions like empty(), isset(), etc. TIA
  11. elliottmina

    Change selection

    Thank you very much. The darn thing still isn't working, but I'll keep at it.
  12. elliottmina

    Change selection

    I have having trouble changing the selected option in a <select> box. From reading, I thought the correct code would be: document.formname.fieldname[index].selected=true; but it's not working. Is this the correct format? TIA.

Part and Inventory Search

Back
Top