From: "basha c." Date: 2012-02-02T05:53:21+09:00 Subject: How to add javascript in a partials Hi, I am using the partial helper module mentioned in sinatra documentation. When I added javascript it comes over exactly in the place where I put it .but there is a new js/jsquery--1.7.js/eval/seq/1 of the scripts(which I can see from firebug) I put in the partials file..and this is getting evaluated aswell because of which the events are getting triggered again.say you put a alert('helloworld') it would get triggered twice. what is happening/how can this be avoided. thanks -- Posted via http://www.ruby-forum.com/.