search for: photo_field

Displaying 2 results from an estimated 2 matches for "photo_field".

Did you mean: photo_fields
2010 Sep 21
0
Upload form with uploadify jquery plugin
...nd have it get submitted with the file upload. I added a name field into the form, but the valued does not get submitted. <% dialog_file_description = ''Photos'' allowed_extensions = [:jpg, :jpeg, :gif, :png] max_size = 20.megabyte allow_multiple_files = true url = photos_path photo_field = ''#photo_photo'' %> <%- session_key_name = ActionController::Base.session_options[:key] -%> <% content_for :jstemplates do -%> <%= javascript_tag "window._token = ''#{form_authenticity_token}''" %> <%= javascript_include_tag "...
2007 Apr 23
3
getElementsBySelector problem in IE
...iting, so you need this so the user can replace replace them), or a pseuo id of the form "n_0", "n_1", ...] This is how I''m doing it (and I''m sure there must be a more elegant way, but as I said, just a js novice): var mostRecentForm = $$(''fieldset.photo_fields'').last(); // get the bottom fieldset var formNumber = mostRecentForm.id.replace(''photo_fields_'',''''); // find the photo'' s object id from the fieldsets CSS id var rx = /n_\d/; var newFormNumber = rx.test(formNumber) ? Number(formNumber.replac...