On Feb 27, 7:23 pm, Gavin <ga...@thinkersplayground.com> wrote:
> what do you have in the date_clicked() function now?
Hi Gavin,
I had the same idea:
function datum_geklikt (geenDatum)
{
var doc = window.content.document;
alert('jep');
doc.getElementById( 'dagid').disabled = geenDatum;
doc.getElementById( 'maandid').disabled = geenDatum;
doc.getElementById( 'jaarid').disabled = geenDatum;
}
That's why I can say for sure the function is only called on the first
click. Only directly after the first click, I get the alert (note the
variable names are different; I translated the first posts, this one
is untranslated). It is not the button, because after a reload, I get
the alert, no matter if the first button was checked first, or the
second button.
Of course the disabling/enabling of the date select is only done once
too; although the error console shows nothing.
I hope you can shine a light on this one; I don't know what I should
start with...
regards, Ruud
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---