[Proto-Scripty] simple question on Prototype (methinks...)

2010-02-28 Thread Grary
Hi, I've inherited a project with some Prototype connections I do not understand. To wit, I'd like to modify the following javascript function so that I can append to the link element, not replace the content: function add_fields(link, association, content) { var new_id = new Date().getT

[Proto-Scripty] Simple question

2008-11-26 Thread justclint
Im just getting into script.aculo.us by way of cakephp. As for javascript frameworks Ive only used jquery. This question is so basic I cant find anything on past posts here in the groups hence this post. Basically I just took a random effect and it worked as described in the github area by apply

[Proto-Scripty] Simple $( ) question

2008-11-06 Thread Scott
If I have an element: 50 Should I be able to say the following? var total = parseFloat($('foo')); Instead, I am getting a return value of: [object HTMLSpanElement] and parseFloat is returning NaN. Thanks in advance. --~--~-~--~~~---~--~~ You received t