2009/9/25 Hemant Bhargava <[email protected]>: > > Ok thanks a lot for your replies, > Just about to finish it with a big smile on my face ..:) > > <input type="button" name="adddynamicBox_<%= day %>" > id="adddynamicBox_<%= day %>" value="Add Schedule" > onclick="addScheduleRow('<%= day %>', <%= index %>, [<%= > time_slot_array.join(", ") %>], [<%= clinic_id_array.join(", ") %>], > ['<%= clinic_name_array.join("', '") %>']) " /> > > And this line is giving me error:- > ---- > XML Parsing Error: xmlParseEntityRef: no name > …="adddynamicBox_Mon" id="adddynamicBox_Mon" value="Add Schedule" > onclick="add… > -- > > I had given name also rit.. Then why error is coming..
Can we see the html please, with a bit either side of the error. Colin > > Also i am passing a name to javascript function which has "&" in it. Is > there any way to decode it as well. > > >> Did you mean >> <label for="qual_checkbox_37">FRCA</label> >> <input ... /> >> >> Colin > > -- > 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 -~----------~----~----~----~------~----~------~--~---

