Displaying 1 result from an estimated 1 matches for "jsarray".
Did you mean:
nsarray
2006 May 16
0
in_place_editor with local autocomplete
...xplains how to use a javascript array for an auto-complete text field.
I want to combine this with the in_place_editor call. My current
(unworking) code:
<!-- Load the array for autocomplete -->
<script src="<%= url_for( :controller => "styles", :action => "jsarray"
) -%>" type="text/javascript"></script>
<!-- div to make into a in-place editor -->
<div id="style_lookup">Change Style</div>
<!-- autocomplete div -->
<div class="auto_complete" id="style_auto_complete">...