I am trying to change the checked button in a radio button array named
‘prop_type’ using
page << “$(‘prop_type[0]’) = ‘checked’”
got an error on the left side : prop_type[0]… it seems correct …
or not ?
kad
I am trying to change the checked button in a radio button array named
‘prop_type’ using
page << “$(‘prop_type[0]’) = ‘checked’”
got an error on the left side : prop_type[0]… it seems correct …
or not ?
kad
$() is for DOM ids, not names, If you’re using rails helpers, then it’s
probably $(‘prop_type_0’).
Jason
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs