Hello,

I'm updating one <div> area with one partial, using a page of .js.rjs,
and the code:

page.replace_html("div_list", :partial => "list", :object =>
@expedients)


Also, I would like to empty the field value that I use to send the Ajax
request, but I can't make it to work, maybe it's not possible with
page.replace ...

seudo code:

page.replace_html("expedient_reference", :partial => "blank",)

Basically I want to change the value of the id expedient_reference:

Referencia <input id="expedient_reference" name="expedient[reference]"
size="30" type="text" /><input name="commit" type="submit"
value="AƱadir" />

is this possible ?

thanks,

r.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to