I have some js code where I would like to send the text of an <a> link to a textfield when clicked. Here is a live example: http://leke.dyndns.org/swe-ass2-autocomplete/
I'm getting "undefined"...
Hi, I was wondering if someone could show me a way to stop an existing instance of a sound file when another is called -- ie. only one sound file playing at a time.
I'm trying to float 2 images, one left and the other right, then add some text in-between them. Here is my attempt, but as you can see, the addition of the text wraps the right image...
...
Ah, I see. Thanks. I was trying to somehow cache the next question so there would be no extra load time after the delay, but thanks for clearing that up. The delay, at least works well now :)
Hi, My multiple choice code works fine, except it executes the new/next question too fast. I tried to set a delay so there is at least 2 seconds until the next question is loaded, but...
I am generating some javascript from php and am having some problems making the id=movie-quote text (and sometimes even the id="movie-titles") appear in my web page. Am I going about this the correct...
Hi, I'm trying copy some css styles from an img style attribute to a another span element style. This code allows me to copy the background-color, but not any of the other styles from the img...
Oww, I don't believe I didn't realise that! I was reading through those very functions as I was trying to figure out that problem. It just didn't occur to me to create the wrapper first. Thanks. :)
I'm trying to get some div tags to wrap around 3 elements, but my jQuery code only gets me wrapping 2. Here is the example...
http://jsbin.com/ihucel/9/edit
Hi, I'm trying to pass the value of a radio button to a function when a textarea detects a keypress event. I can't figure out why this error is happening though...
From what I remember, the line was " if ( $field1 == null || $field2 == null ) { ", but I removed this part of the code completely and got it working without error checking.
After reading about the...
I'm having some trouble getting the output of the cgi script back to the page. For some reason the ajaxRequest.responseText is empty running the ajax from the scratchpad in FireFox. The cgi page is...