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

    form code, trying to use submit

    A) What is that Login() function that you are calling supposed to do? B) Have you tried this? <input type=&quot;button&quot; onclick=&quot;Login(); return false;&quot;> Hope this helps
  2. johnnydaboy

    Use Pull-down box for files?

    As long as the file types that you are sending are not viewable by the browser (jpg, gif, html, txt, etc), this should trigger a download. <form name=&quot;my_form&quot;> <select name=&quot;file_list&quot;> <option>document1.xyz</option>...
  3. johnnydaboy

    Help With Syntax..Please

    Single ( ' ) and double ( &quot; ) quotes in JavaScript function identically and have to be balanced. You need more levels of quotes. JavaScript let's you do this by &quot;escaping&quot; quotes inside quotes by inserting a backslash ( \ ) character before it. For instance: var foo =...
  4. johnnydaboy

    String replacement only replaces first instance.

    right on, Jared! Hope Thessa comes back to read your reply. Hope the DeltaFlyer reads it too, come to think of it.
  5. johnnydaboy

    I'm at the end of my virtual rope! Help! - Parent/Child Problem

    You have to reference the frame that you want the new page to load in. So if you have two frames named &quot;frm_1&quot; and &quot;frm_2&quot; and you have your form in frm_1 then you would use: &quot;onclick=top.frm_2.location=document.your_form.url.value;&quot; You should try to familiarize...
  6. johnnydaboy

    How to link HTML to JavaScript to again HTML page

    Your function &quot;onClick&quot; may or may not confuse the JavaScript interpreter, come up with another, more descriptive, name for your function like &quot;displayEmail().&quot; write() is not a method of the window object, but rather of the document object, so you want to say...
  7. johnnydaboy

    dynamic links

    trc Try this on: If you set a global variable &quot;url_start&quot; to be something like &quot;http://www.yourdomain.com/sendmsg.asp?command=&quot; and another global &quot;url_end&quot; (only if you need it) then you can use: <select onChange=&quot;url_start = url_start +...
  8. johnnydaboy

    History.back()

    hoffa2: To go back in the bottom frame from a link in the top frame: <a href=&quot;javascript:top.frames[1].history.back();&quot;>Back</a> where frames[1] is the second frame the the frames array. You could also use the_name_of instead of frames[1]. Hope this helps, /johnny
  9. johnnydaboy

    History.back()

    indigojo: Are you sure you want your button to imply that the user is going back? It should, in human interface design terms, suggest that they are going to return to the search window. The way to do this is: var search_win = window.open(url,name,attributes); Here you are setting the...
  10. johnnydaboy

    Enable/Disable Question

    The first problem is that &quot;document.fomr1.cbosecondary&quot; doesn't exist in the document (at least not what you posted) so you will get an &quot;object expected&quot; error on that. You do not need to attach the enable() function to an object (you may get errors from this anyway). But...
  11. johnnydaboy

    Frame alignment problem ...

    Netscape does this bizarro thing where it calculates absolute frame sizes by determining the percentage that the frame size represents in the window (whatever size it is), and then converting that percentage back into pixels. This results in in very erratic behavior because of all the rounding...
  12. johnnydaboy

    History.back()

    You need to refer to the frame that you want to go back in because each frame has it's own history. The easiest way to do this is pass a reference to the frame that you want to go back in to the goBack() function and then go back in it. You can go back in multiple frames by sending multiple...

Part and Inventory Search

Back
Top