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 Wanet Telecoms Ltd 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. AdamBrill

    "Error: Object Expected" onClick function call

    The problem is probably because you named the form 'form'. Name it something else and see if it works. Also, the correct syntax for the input line is this: <input type=&quot;button&quot; value=&quot;Calculate Total&quot; name=&quot;B3&quot; onClick=&quot;check(this.form)&quot;> If it still...
  2. AdamBrill

    Stringing a variable

    So, you have a <select> and you want to know which one it is on? If so, try something like this: window.opener.document.formname.selectname.options[window.opener.document.formname.selectname.selectedIndex].value; //all that on one line I think that might be what you want... ;-)
  3. AdamBrill

    Stringing a variable

    Oh, sorry. ;) Try this instead: window.opener.fieldname; That should return the fieldname variable from the window that opened the page.
  4. AdamBrill

    Stringing a variable

    Would something like this work? window.opener.document.formname.fieldname.value; I think that might be what you are looking for...
  5. AdamBrill

    SUBMIT PROBLEM

    I would have to disagree, but that's ok. ;) I would agree about the windows application part, though. If people want the power of a windows application, they should just make windows applications. :) People don't seem to get that it is only a browser... ;)
  6. AdamBrill

    How to Refresh Previous Page

    Is window b a popup window? If so, you should be able to do this: window.opener.location = window.opener.location; I think that should work...
  7. AdamBrill

    SUBMIT PROBLEM

    lol ;) You really think that that many people abuse it?? I hardly ever see that kind of stuff... Of course, that could be because if I see that the site is geoCities(or some other cheap, abused server), I just don't go there. :) About 90% of the people on there abuse it...
  8. AdamBrill

    SUBMIT PROBLEM

    Originally posted by EdwardMartinIII But with great power comes great irresponsibility... Are you suggesting that people abuse javascript? I mean, there are some people that have the background of the page flash, no right-clicks, or other such annoyances, but for the most part, people only use...
  9. AdamBrill

    SUBMIT PROBLEM

    Yeah, it is kind of surprising. The only thing about that is I think the majority of people that have it turned off are either at a school that turns it off or part of a large corporation that turns it off. I doubt that there are very many people that just turn it off for the heck of it... :)
  10. AdamBrill

    Image slide show

    The problem is the size of your images. The first one is 15k, not bad. But the second and third ones are 150k and 60k! That means that you have to load about 220k, which would take at LEAST(normally more) 30-40 seconds to load on a 56k modem. I would resize the images down so they are each about...
  11. AdamBrill

    How to Refresh Previous Page

    Well, you can't refresh the page, but if you put this at the top: <meta http-equiv=&quot;Cache-Control&quot; content=&quot;no-cache, must-revalidate&quot;> <meta http-equiv=&quot;Pragma&quot; content=&quot;nocache&quot;> Then it will refresh everytime you go back to it, even if you back up to...
  12. AdamBrill

    onChange

    Change the onChange to onKeyDown and it should work...
  13. AdamBrill

    Help needed hiding a radio button in Netscape

    It worked for me just doing it like this: <input type=radio style=&quot;visibility:hidden;&quot;> Is that what you tried??
  14. AdamBrill

    Adding a Variable to a URL

    instead of using whatever.asp for the link, just do whatever.asp?value=1 Then you can read it later or whatever...
  15. AdamBrill

    closing a Window if it exists...else do nothing

    Do something like this: MyWindow=null; function closeMyWindow() { if (MyWindow) { MyWindow.close(); } } function openMyWindow(Page,W,H){ var options = &quot;width=&quot;+W+&quot;,height=&quot;+H; MyWindow = window.open(Page,'PageWin', options); MyWindow.focus()...
  16. AdamBrill

    Select from a combobox

    I think this is what you want: document.formName.selectName.selectedIndex=1; That will select the second one... You can change it to select whichever one you want.
  17. AdamBrill

    problem with History.go(target_string)

    Is this what you are looking for? <input type=&quot;button&quot; name=&quot;btnBack&quot; value=&quot;<<&quot; onclick=&quot;Javascript:document.location('frmselectcust.htm')&quot;> That will take you to frmselectcust.htm when clicked...
  18. AdamBrill

    SUBMIT PROBLEM

    Here are some stats about it: http://www.thecounter.com/stats/2003/March/javas.php Those stats are out of 113,973,510 visitors in about 45 days, so they should be fairly accurate. ;)
  19. AdamBrill

    parse a string into an array

    One of the best sites I have found is MSDN. They have just about everything. Here is another site that you might want to check out, too: http://wp.netscape.com/eng/mozilla/3.0/handbook/javascript/
  20. AdamBrill

    SUBMIT PROBLEM

    mwolf00 - Talk about taking out anyone that doesn't use javascript. You can easily do it with a onsubmit, so there is no reason to exclude the people that don't use javascript. If you do insist on doing it like that, at least do something like this: <input type=submit onclick=&quot;subForm()...

Part and Inventory Search

Back
Top