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 AdamBrill

  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()...

Part and Inventory Search

Back
Top