Sure, but I was hoping for a generic kind of answer like
if input=other than ...
Form code is generated by the drupal Form API
[code]
div class=form-item
div class=form-radios
div class=form-item id=edit-sample-garden-wrapper
label class=optioninput type=radio id=edit-sample-garden
http://docs.jquery.com/Selectors/attributeContains#attributevalue
$(input[id*='other']).bind(evt, function(){
alert('This should get called when you click on any radio if
it's id contains other')
if ($(this).attr('checked') == 'checked' $(this).val() ==
'other') {
Can you post the markup for one of the groups? You can probably use
that to your advantage.
3 matches
Mail list logo