[Proto-Scripty] jQuery or Prototype ?

2009-01-20 Thread Jan Hansen
Hi all, Still more frequently I get or see the question: Should we use jQuery or Prototype? There has been discussions about the future of prototype, is there enough development going on for prototype, an unofficial wiki has been created (thanks!) etc. etc. But nothing BIG. jQuery has a huge

[Proto-Scripty] Re: jQuery or Prototype ?

2009-01-21 Thread Jan Hansen
Software Engineer, consulting services available On Jan 20, 11:55 am, Jan Hansen j...@nhl-data.dk wrote: Hi all, Still more frequently I get or see the question: Should we use jQuery or Prototype? There has been discussions about the future of prototype, is there enough development going

[Proto-Scripty] Re: How to fire 'click' on element ?

2009-02-27 Thread Jan Hansen
If the element you want to fire a click event on is a link (a... element) you can use eval(element.href); - which will do the click. This is particularly great for e.g. asp.net postbacks, where the location value is something like javascript:__doPostback('arg','arg'); In IE, the .click()