Have the variables brandSelect and modelSelect been defined? Or are you tyring to directly access form controls by name?
Try document.getElementById('brandSelect').value or document.formname.brandSelect.value
Yeah, a too-short timeout could do that -- it spends all its effort checking if things are loaded, and no effort goes toward actual loading. The one-millisecond timeout I used is a bit extreme, 5 or 10 milliseconds is more reasonable.
If, in your detection, you included the parentheses after top.content.clear(), then you'd still just be trying to call the function. Gots to look at only the function-object.
Jam this in as main_f (and adjust the frameset so you can see it's output):<html>
<body>
<script...
You seem to be assuming that index2_f will be fully loaded and parsed by the time main_f calls top.content.clear()... an assumption now proved false.
Make use of onload handlers (in either or both frames), or object detection ( if ( typeof(top.content.clear) == 'undefined')...
document.write is meant for adding HTML to a document as it is loading, or for creating an entirely new doc from scratch. When you call it on an existing document, it simply clears that document and begins a new one.
So, when you call echo from your iframe, it clears your parent document. The...
Tried it on different box, and got the evil results you described. It would seem that this is a XPsp2 thing.
I know of no work-around -- and since this is an intentional 'enhancentment' to IE, I doubt there is a solution.
I couldn't replicate the problem. Using (large parts of) your code gave reliable popups when closing the browser. For the heck of it, you might try running your popup using onbeforeunload instead of onunload. Beyond that, need a link to see how your real page differs from my test.
Extra monitoring stuff usually lives in an extra chip on the SMBus, but the basic voltage/temps stuff is often in the chipset itself and accessed via the ISA bus. You do know how to access the ISA bus and SMBus in your language of choice...right?
Fire up MMB and check its system-info output...
Where/how do you initially define count and delay?
First thing you need to know is that the statements in a setTimeout are executed in the global scope. setTimeout acts as if the statements were wrapped in a <script> tag and appended to the end of the document at the appropriate time...
You are tyring to set the value of the lname input before it exists -- you aren't allowing any time for your pop-up to open and for newRequestor.php to load.
Instead of pushing the value to the pop-up, try using onload/onfocus events in newRequestor.php to grab your value from the opener...
You may be seeing some of mine... I taught my web-proxy to make referrers more fun. Most look like search-engine queries - any one of a score of engines and using a word or three from a list of a couple hundred (biased towards the weird and the pornographic, with enough bland pop-culture terms...
Let's see if I've got this right...you want your webpage to be able to snoop on the interactions of a user with some other site. No fucking' way.
I'm sure your intentions are honorable <cough>, but if such a thing was possible don't you think the the phishers and faudsters would be using it...