Flashcard (Front and Back)

Front (Question)

How do you pass additional parameters back to the server?

Back (Answer)

use callback and return the values as a string

new Ajax.InPlaceEditor('id', 'url', { 
callback: function(form, value) { return 'item=123&field=description&myparam='+escape(value) }
})


Memory Work Out Sessions use brain research to accelerate and improve memorization. Automatically scheduled daily review drills ensure sure you don't forget.





or Find more than 100,000 other things to learn

Educators and Trainers:

Tour YoYoBrain's resources for learning and teaching
Previous Card See the whole card set Next Card


Comments:

Other flashcards from Scriptaculous' Ajax.InPlaceEditor
Basic description from http://github....       Character encoding of Ajax.InPlaceEditor       option to specify that you want text ...       how does the server side component at...       how should your URL process the InPla...       How can you find all possible callbac...       Basic syntax for InPlaceEditor       Syntax to disable InPlaceEditor behav...       Syntax to force an InPlaceEditor into...       How would you specify a different nam...       when using callbacks , how can you en...       how do the results produced by escap...       How do you pass additional parameters...       option for type of ok button to use       option to set text of the submit control       option to set text of link that cance...       option to set text shown while update...       option to set type of cancel control ...       option to set the text shown during t...       option to apply edit to a form       option to set an external control if ...       option to set height of edit field       option to specify code that is run if...       option to specify code to be run if u...       option to set width of text area       option to set width of text area       additional option available as a syno...       option to set highlight color       option to set css class added to elem...       option to specify CSS class for in pl...       option to specify class used when hov...       option to specify what text is displa...       option to specify a function that wil...       important constraints about using cal...       option that will submit the in_place_...       options specified to loading and savi...       how do options passed into the ajaxOp...       Recommended method for adding a spinn...       How do you customize look and feel of...       How do you set a style rule for the o...       how do you customize the CSS for inpu...       how do you customize in place editors...       css selector for submit button on in ...       css selector to customize links used ...       trigger for entering edit mode       callback fired when the hover class n...       call back triggered when ajax reports...       callback triggered when edit mode is ...       call back triggered when hoverclass i...      





App_store_badge
What's new | About Us | Privacy Policy | Copyright Policy | Contact Us

Copyright 2007-2019 YoYoBrain.com

Managed By W3mg