Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select id="profile_id" name="profile[id]">
- </select>
- <script type="text/javascript">
- 1
- 2//<![CDATA[
- 3new Form.Element.EventObserver('profile_id', function(element, value) {new Ajax.Updater('profilelist', '/profiles/foo', {asynchronous:true, evalScripts:true, parameters:'id=' + value + '&authenticity_token=' + encodeURIComponent('w9I8CwwPQ787XEvNeoSqPnQlZ429vjd5SW+ZCPSvLS8=')})})
- 4//]]>
- </script>
- <input id="property_id" type="hidden" value="2" name="property_id"/>
- <input type="submit" value="Submit" name="commit"/>
- </form>
Add Comment
Please, Sign In to add comment