What specifically are you having trouble with? Finding the anchors, or making the drop down list? What have you tried? For starters, you should look into the document.getElementsByTagName function...
It still "works" in the sense that it changes the variable value, but when you move the alert outside the "onclick" function it doesn't run the alert command when you click. You should read up on...
Several things: You usually can't set an event property like "onClick" directly through javascript. You have to do it in the HTML (as below) or use addEventListener/attachEvent (one for not IE, the...
Hmm... that is a weird one. Have you tried running the local script with the online sources, i.e. src="http://whatever"? I can't think why you would get a 404 error if the files are there and...
if (navigator.appName == "Netsacpe")
It looks like you misspelled "Netscape" there, which would cause it to alert that you are using IE no matter what. Let me know if that fixes it.
I've had this same problem. The "value" of the file input element is just the file name; most browsers (all modern ones) remove the path from the file name internally, stopping javascript from...
Not sure what the problem is. Can you add the tag manually to each entry, or do you want to do it automatically? If you're concerned about having the quotes inside the <a> tag, use single quotes,...
The problem, as clueful explained, is that you were submitting the form. You can keep the form tag if you want, just change the button to type="button" instead of type="submit". You really don't need...
You can do this, but maybe you shouldn't? That page has a disclaimer about image permissions:
http://apod.nasa.gov/apod/lib/about_apod.html#srapply
which specifically doesn't allow unlimited...
Sorry if I'm not exactly sure where you're having trouble, but here are some ideas: to set up your form checking, you want to use either an onChange or onBlur event attached to the input, i.e. <input...
That's a tricky one, but I think I found it. If you delete the first row, i is 0 so the i-- line in the middle of the loop will make i = -1. Then, the call for table.rows[i].cells[1].childNode[0]...
You probably want an "if" statement, not a "while" statement unless the animal type is changing inside the loop. A while statement will loop endlessly and can freeze the script if the condition never...
I think the problem is with pokazi2, which wasn't in the original script. The function tzatvori only hides the last drop-down menu drawn. When you draw the sub-menu (m3) with your pokazi2 function,...
You're right, sorry. The fact remains that the fadeout callback won't call until the fadeout completes. By then the loop will have finished and the value of i will be testarray_length-1, not whatever...
Without seeing more of the code I can't tell exactly what you're trying to do, but it looks like your function is just resetting the form1.action parameter. Changing the form1.action parameter does...
I don't know much about jQuery, but couldn't this be done with css classes? Is there any reason you need to get the style specifically from another element? You can declare a class in your style tag:...