Thanks for the reply Walter, changing $ to $p causing some problem(like calling jquery hide or show function, prototype.js function gets called). So i what did to solve the conflict is to open a prototype.js related things in new tab and using jquery.noConflict().
Thanks, Amit On Friday, October 23, 2015 at 3:27:22 AM UTC+5:30, Walter Lee Davis wrote: > > The framework doesn't provide any tools to enable that, but you could fork > it and do that I suppose. You may have a larger issue because Prototype > extends the prototype (small p) of a lot of different parts of the > JavaScript language, and some of these changes mean that sloppily-written > code will error out rather than sorta work. Iterating over an object with > for .. in will also iterate over all of the methods that Prototype adds to > every object, for example. This is fine if you have a normal object, but an > Array is also an object, and it gets a bunch of new methods added to it as > well. This breaks assumptions that code written in the absence of Prototype > may be relying on to work at all. > > Walter > > On Oct 22, 2015, at 1:58 AM, Amit Dwivedi <amydw...@gmail.com > <javascript:>> wrote: > > > Hi, > > Can we change $ in prototype.js to something else like $p or $proto > > > > Thanks > > > > -- > > You received this message because you are subscribed to the Google > Groups "Prototype & script.aculo.us" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to prototype-scriptaculous+unsubscr...@googlegroups.com > <javascript:>. > > To post to this group, send email to prototype-s...@googlegroups.com > <javascript:>. > > Visit this group at > http://groups.google.com/group/prototype-scriptaculous. > > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To unsubscribe from this group and stop receiving emails from it, send an email to prototype-scriptaculous+unsubscr...@googlegroups.com. To post to this group, send email to prototype-scriptaculous@googlegroups.com. Visit this group at http://groups.google.com/group/prototype-scriptaculous. For more options, visit https://groups.google.com/d/optout.