embed js code issue from rails application

Posted by Arpit Vaishnav on Stack Overflow See other posts from Stack Overflow or by Arpit Vaishnav
Published on 2010-06-12T05:47:49Z Indexed on 2010/06/12 5:52 UTC
Read the original article Hit count: 290

Filed under:

I am on the ruby on rails application and trying to embed the code for js , added the whole code for embedding in Text box , But when i copy paste in other blogs where embed is poss , i am not getting the full js work , the code is given below

<%= text_field_tag "text","

script src=\"/public/javascripts/calendarview.js\"> script src=\"/public/javascripts/calendarview_init.js\"> link rel=\"stylesheet\" href=\"/public/stylesheets/calendarview.css\"> link rel=\"stylesheet\" href=\"/public/stylesheets/calendarview_init.css\">

",:size => 40 %> I have just removed < for let it be seen in the coding window

PLease help if poss

  1. List item

© Stack Overflow or respective owner

Related posts about ruby-on-rails