Type: Posts; User: nap0leon
Search took 0.02 seconds.
The dropdowns are simple HTML <select> drop downs with a size and onchange specified.
The size makes it display as a "select box" instead of as a single-line "drop-down".
The onchange function is a...
also... not sure why you escaped all of your double-quotes.
the following sample page works for me
Have you tried using window.innerHeight to gauge the height of the window as part of your calculation?
If you don't want to use Gauss' formula (fully explained here - http://mathcentral.uregina.ca/QQ/database/QQ.02.06/jo1.html),
just do a simple "for" loop (explained here:...
It adds a button to a video player on the page.
But, your question is "how to do this".
0- let's refer to each of the two eval lines as "line 1" and "line 2".
1- use the code from line 1, remove...
"document expired" usually happens when you post a form or use JS to document.write() the current page, etc.
Here are a few discussions on why this happens:...
Yeah, I was sloppy... 2 minutes of code, did some quick verification for syntax errors but that was it.
Especially not knowing if this is the sort of thing the OP was asking for.
IDs need to better...
Used this one in the early 2002 and again just a couple years ago.
You may be able to get by with the free version, but it is inexpensive and will give you more options and...
Modify as needed, but here's the basics
<input id="val1" type="text" value=""/>
To get the URL of the iFrame, you can do it like this:
<iframe id="theFrame" src="http://www.jasondahlin.com" height="100" width="600"></iframe>
By the way... You should name your field "gender", not "sex".
Can you post a relevant code sample so we can see how all of your items are laid out and ID'd/Class'd ?
Here is the sample page with a console.log message inclluded to let you know when the fadeIn() method runs:
Odd- using the code you provided, the change works fine for me locally.
returns an object (an empty object, but an object none-the-less) and therefore passes the boolean test.
$('#about').not(':visible').length > 0
With JS you are directly manipulating the element's attribute.
In your second example, that attribute does not exist, therefore, nothing happens.
Just put the relative URL in it's place:
1) IMO, you should give the form a name, even if you aren't using the name in any of your code. I suggest giving it a name that represents what the form is used for - like "UserName" or some-such.
FWIW, this addresses most of the concerns you expressed.
I left the .focus() events in, but they do not work in FireFox.
<meta http-equiv="Content-Type" content="text/html;...
Had you used the console as I suggested you would see that "document.form22.firstname" is "undefined".
I suggest you revert back to using the value for "this" that you are passing into your...
Works for me in the latest FireFox and Chrome browsers.
Lots of issues Webtor.
1- you are throwing the alert message wether the error condition exists or not
2- by evaluating "x.length" you are checking for the length of the object x, not the length of...
Length will never be less than 3 AND greater than 35.
Change the && to ||