On 28 Jan 2009, at 07:34, Dharmdip Rathod wrote:
>
> Thanks a lot ,
> but it is not working here actually your suggested code is breaking my
> java script and style problem is still there , but never mind .
> Actually
> here this issue is looking some critical because i can not see html
> generated code in source when i write this
>
> <%= collection_select(:customer, :country_id,
> @countries, :id, :country, {:style => 'width:100px;', :onchange =>
> "updateState('');", :id => 'country_id'}) %>
It's the usual "the first hash is options, the second is for html
options" thingy.
>
>
> help...............
> --
> Posted via http://www.ruby-forum.com/.
>
> >
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---