On Mon, Aug 23, 2010 at 9:38 AM, Pale Horse wrote:
> I require some information, displayed at the top of a page, to change
> onclick.
>
> The information is in the following form:
>
> NameJob role
> Description... <%= link_to "read more", :controller => "controller",
> :action => "show", :id => id
Hi,
On Mon, Aug 23, 2010 at 8:38 AM, Pale Horse wrote:
> I require some information, displayed at the top of a page, to change
> onclick.
>
> The information is in the following form:
>
> NameJob role
> Description... <%= link_to "read more", :controller => "controller",
> :action => "show", :id
I require some information, displayed at the top of a page, to change
onclick.
The information is in the following form:
NameJob role
Description... <%= link_to "read more", :controller => "controller",
:action => "show", :id => id %>
telephone number
There is an image to correspond with this. T
Hi,
Is something like this possible?
<% link_to_function 'Name',stuff do |page|
page.replace_html 'id', :text => link_to_function
'Name2',stuff2 do |page2|
page2.replace_html etc
end
end %>
I'm using the first link_to_function to create a link in a div with
I have a link_to_function on one page to go to this edit screen with
this link_to_function.
<%= link_to_function 'cancel' do |page|
page[:"work_show_#{work.id}"].hide
end %>
When I click on the edit button it says,
missing ) after argument list
http://localhost:3000/
Line 2
If i take out
page
I have an full ajax app doing crud operations for contact info for one
section. I was using ajax calls to edit and cancel and also to add a
contact. I am implementing a button_to_function instead of doing an
ajax call to just edit/add/or cancel a contact. I am running into a
memory issue using t
Hi guys. I`m having this kind of problem:
i have the comments tree, there`s this link_to_function under each one:
link_to_function "Reply",
"$('comment_parent_id').setValue(#{comment.id});"
as you see it simply passes comment.id to my form.
Form looks like this :
<%form_for :comment, :url =>
My view looks like this
<%count=0%>
<%=link_to_function("add another", nil, :id => "more_link") do |
page|
page.insert_html :bottom, 'phone_numbers', add_phone_field(count
+=1)
end
%>
add_phone_field is a helper method.I need to increment count on every
click.But my code above does not do
8 matches
Mail list logo