badge
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by badge
-
-
I'm having a bizarre problem, written a javascript to change a value in a textbox dependent on the value of a selected radio button. I have an onClick on each of the buttons which runs a function which starts thus:
function allcheck() { if (document.getElementById('capture1').checked) { document.getElementById('capture').value = 450 } if (document.getElementById('capture2').checked) { document.getElementById('capture').value = 730
and continues in a similar fashion.this works fine in Firefox amd Safari, but doesn't do anything whatsoever when it runs on Internet Explorer. I have a similar script in the page which starts
function couplingcheck() { if (document.getElementById('couplingcheckbox').checked) { document.getElementById('couplingtotal').value = 200, document.getElementById('stops1').disabled = false,
which works in IE. I'm using GoLive which generates some script of its own and am really quite confused. Any ideas?Thanks in advance, badge
-
Thanks very much, that's great.-B-
-
Hi all, need a hand,I've defined a variable "sonic" with radio buttons and can display it using
<input type="button" value=Display onClick="document.write(sonic)">
However, I'd really like to show it in a text box next to the button (currently get taken to a new page), and can't for the life of me work out how.Any help greatly appreciated, Badge.
Internet Explorer difficulties
in JavaScript
Posted
sorry Little Goat, been away for a few days,the check box and text box refered to in the working code appear here:
and the part which doesn't work has radio buttons:
As I said, everything works fine in Firefox, Opera and Safari, but checking the radio boxes in IE gives no response,ta, badge