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="button" value="Calculate Total" name="B3" onClick="check(this.form)">
If it still...
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... ;-)
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... ;)
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...
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...
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... :)
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...
Well, you can't refresh the page, but if you put this at the top:
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<meta http-equiv="Pragma" content="nocache">
Then it will refresh everytime you go back to it, even if you back up to...
Do something like this:
MyWindow=null;
function closeMyWindow() {
if (MyWindow) {
MyWindow.close();
}
}
function openMyWindow(Page,W,H){
var options = "width="+W+",height="+H;
MyWindow = window.open(Page,'PageWin', options);
MyWindow.focus()...
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.
Is this what you are looking for?
<input type="button" name="btnBack" value="<<" onclick="Javascript:document.location('frmselectcust.htm')">
That will take you to frmselectcust.htm when clicked...
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. ;)
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/
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="subForm()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.