Displaying 6 results from an estimated 6 matches for "ajax_upd".
Did you mean:
ajax_add
2006 Jun 28
2
Ajax - Upload File Upload
hello, i have a problem. I want to upload a file with ajax and the
following tag:
submit_to_remote ''button_save'',''Speichern'',{
:url => {:action => ''ajax_update'', :id => @product},
:update => ''formular''
}
it doesn''t work, my form_tag looks like:
form_remote_tag(:url => {:action => ''update'', :id => @product},
:html => { :action => url_for(:action => ''...
2006 Jan 19
5
script.aculos.us and the in_place_editor
...le">Age:</span>
<span class="profile_info" id="<%=''@profile.age'' + @profile.id.to_s -%>">
<%= @profile.age %>
<%= in_place_editor(''@profile.age'' + @profile.id.to_s, :url =>
{:action => ''ajax_update''}, )%>
</span>
</div>
</p>
At the top of my profile controller I placed the following:
in_place_edit_for :profile, :age
This is where I have a question. How do would I actually go about
saving the new value that was inputted into the text box that popped...
2005 Aug 15
2
Newbie rendering problem
...a is to display an update form at
the same position as that of the original item.
ajax_edit action of the item_controller renders the partial form for
doing so.
def ajax_edit
@item=Item.find(params[:id])
render(:partial=>"form",:locals=>{:item=>@item,:actionName=>"ajax_update",:updateID=>"items",:submitTag=>"update"})
end
_form.rhtml would look like this
<%= form_remote_tag(:update=>updateID,:position=>:bottom,:url=>{:action
=> actionName})%>
<%= text_field_tag(''itemName'',item.name) %>
<%=...
2007 Mar 15
8
in-place-editor
hi @ all
how can i save my edited text in the database with php?
thanks for your support
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send
2007 Apr 09
0
Unobtrusive IPE -- comments, please
...omments for it. Anyone spot anything obvious that I could
do to streamline this?
Thanks,
Walter
<script type="text/javascript" charset="utf-8">
var rightClick = function(e){
Event.stop(e);
var editListing = new Ajax.InPlaceEditor("listing_body",
"ajax_update.php",
{rows:20,cols:50,
onComplete: function(transport, element) {
new Effect.Highlight(element,
{startcolor: this.options.highlightcolor});
editListing.dispose();
},
loadTextURL: "get_raw.php?id=<?= $id ?>&field=description",
ajaxOptions: {me...
2006 Apr 17
0
FW: evalScripts in IE
Here you go:
Very Basic Example (save them to your desktop and fire ajax_updator.html. Please make sure prototype.js is also present there):
You may find errors and can suggest 100 other approaches, but this should be enough to demonstrate how evalScripts works.
-Mandy.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKc...