On 27 May 2010 17:20, Hassan Schroeder <hassan.schroeder@gmail.com> wrote:
> On Thu, May 27, 2010 at 9:09 AM, Colin Law <clanlaw@googlemail.com> wrote:
>
>>> A client-side action like this is done with JavaScript.
>
>> Or AJAX could be used.
>
> Which is still JavaScript, but with a pointless (in this case) round-trip
> to the server :-)
It is probably correct that the round trip to the server is pointless,
but not necessarily, we do not know enough about the requirement.
Maybe the text boxes to be added depend on data the user has entered
and in data in the database in some way that would make AJAX more
appropriate.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment