similar to: Prototype Form.serialize and mutli selects

Displaying 20 results from an estimated 9000 matches similar to: "Prototype Form.serialize and mutli selects"

2015 Apr 23
2
cálculo de distancias
¡Hola! Estoy tratando de hacer una matriz que contenga los valores de distancias entre distintos elementos (con sus respectivas coordenadas x e y), pero salta un error, y no sé como corregirlo. ¿alguna idea? muchas gracias! saludos!! Priscila -- Dra. Priscila Ana Powell Instituto de Ecología Regional Facultad de Ciencias Naturales e Instituto Miguel Lillo Universidad Nacional de Tucumán
2006 Apr 07
2
Prototype 1.5.0_rc0 breaks my Form.serialize
Cheers, Prototype 1.5.0_rc0 breaks backwards compatability with this diff in Form.Element.Serializers: http://dev.rubyonrails.org/changeset/4147 I have explicit value="" in my options and now I get the text submitted. E.g. <select id="foo"> <option value="">Please select a value</option> </option value="1">Nr.
2008 Apr 22
1
Problem with Prototype 1.6.0.2, Opera 9 and Form.serialize()
Hello, following code fragment given: ~~~ function jsPostAppend(script, form_id) { if(form_id) //parameters=''&'' + $(form_id).serialize() // first flavour parameters=''&'' + Form.serialize($(form_id)) // second flavour [...] ~~~ This works perfect for FF2, IE7 and Safari3 (in both flavours). With Opera 9.x, I get the following javascript errors:
2005 Oct 17
7
Ajax.MultiUpdater ?
Hi, I''m using prototype within ruby on rails. One limitation I''d like to overcome is the restriction of beeing able to update just one html elements content using from_remote_tag or link_to_remote. AFAICS this is just a restriction of the form_remote_tag/link_to_remote implementation and it''s underlying Ajax.Updater class. Right? In theorie there should be no problem,
2006 Jul 03
0
Prototype 1.5.0_rc0 form_serialize issues for select lists
Hi, we have a rails 1.0 application and I did some tests to see if we could upgrade to rails 1.1 One issue I found, is that prototype 1.5.0_rc0, that was installed by rake rails:update:javascripts, changes the way a select list is serialized if an option has an empty value. Consider a form like <%= form_tag :action => ''test_form_post'' %> <% options = {
2007 Aug 29
0
using centos for mutli VM linux appliance
Please also think about starting a thread with a new message > Sorry about that folks. Starting a new thread. May want to check out the VMware CentOS appliances as examples: http://www.vmware.com/vmtn/appliances/directory/820 http://www.thoughtpolice.co.uk/vmware/ > The appliance itself will host multiple Virtual Machines. Looks like we are leaning towards VMWare for the virtual
2004 May 15
0
Trouble with Mutli Link Redundancy
I am running kernel 2.6.5, gentoo linux...julian''s routes-2.6.4-10 installed eth0 = local eth1 = cable modem eth2 = T1 I am having issues with the machine actually sending packets out over each hop, it tends to default to eth2, almost never will it use eth1- I can make a rule to send traffic through the eth1 from certain hosts, and it will force the IP through that interface, but
2012 Oct 02
2
Problem with mutli-dimensional array
I want to make a multi-dimensional array. To be specific I want to make the following array results<-array(0,dim=c(2,2,64,7)) This is the code I have created but it gives no result due to the error "subscript out of bound". x<-rep(7,7) # Missingness in intervention y<-rep(7,7) # Missingness in control
2010 Jan 02
2
Underscore in a model's method causes it not to be called from the form helper
Hi, I''m using rails 2.3.5 and found following behavior, which I can''t explain. Maybe someone can. I have a model named ''Game''. Its database schema contains a field named ''pconfig_src''. I want to lazy load the pconfig_src value, so added following method to the model: def pconfig_src read_attribute(''pconfig_src'') ||
2008 Jul 11
2
Error in prototype.js ......var value = element.style[style];
Hi, I have a script that throws an error in prototype.js on line 1889. Its just started showing...it''s not breaking my app at all just showing the error. I can''t track back to where it started happening though. It''s this line. var value = element.style[style]; Has anyone encountered this before....do yiou have any hints on how to track this bug down?
2006 Feb 02
8
How to get all selected rows in the mutli-selection listbox?
Hi, I have created a multiple selection listbox with rails, when I try to get the rows selected by user, rails send back only the first one, how can I get the other selected rows???? I created the listbox with the following function: select_tag("form__list1", options_for_select(["A","B","C","D"], selected = "A"), html_options =
2008 Jul 28
4
Mutli-Homed Subnetting - Advice please
Hi All, I have a problem with a growing network. I inherited the network at about 200 machines and it's now reached 300 at which point the cracks are starting to show. I have no budget to speak of but need to up the bandwitdh so I'm looking at sticking an extra Gigabit NIC into my PDC and splitting the network into two subnets. I have two kinds of data, static and dynamic. Static files
2006 Apr 17
1
Form.Serialize - Method''s for limiting form data?
I have some ideas how to go about this, but wanted to see if people already had solutions in place for this. The basic scenario is i''m sending form data over ajax using form.serialize to send the form data (as per the standard methodology). However, on some pages i have very large forms (few thousand form fields - its a simulated editable grid), and I only want to send the data in
2008 Jan 11
1
Remote form for, Form.serialize and parameter arrays
Whenever I use regular form for and have an attribute list containing an array all goes fine and it results in parameters like: {"some_attributes"=>[{"title"=>"first_title", "text" => "text1"}, {"title"=>"second_title", "text"=>"text2"}]} However whenever I submit the same form with
2005 Dec 14
0
Form.serialize and Ajax.Request -> file serialization and encoding
Hello, I have related two questions: 1/ I am trying to send a multipart/form-data encoded form through Ajax with by calling Form.serialize, but it seems that files fields does not support this very well Is there any special mode to use ? 2/ some datas in the form are iso-8859-15 text, that get through utf8 encoding in javascript and therefore get a bit busted. I know how to correct
2007 Apr 10
0
Form.serialize(this) returning empty string in onSubmit, Ajax.Update context, works in Firebug watch
This page is ripped from a real application, but its been simplified for debugging, turning off authentication and hiding Secret Sauce®. So if you try Form.serialize(''bio_form'') in Firebug you''ll get a url-encoded string back. The parameters to the Ajax.Updater() call a wrapper around Form.serialize which should present an alert with the url-encoded string. It
2005 Dec 14
1
RE: Form.serialize and Ajax.Request -> fileserialization and encoding
1/ I am trying to send a multipart/form-data encoded form through Ajax with by calling Form.serialize, but it seems that files fields does not support this very well Is there any special mode to use ? You cannot send a file through Ajax. You''ll have to submit the form normally. To mimic Ajax functionality, you could set the target to a hidden iframe, and on the server side,
2006 Aug 10
3
How to serialize a symbol coming from a Form
Hello, I would like to use serialized symbols as values for select in forms. eg. class Vehicle < ActiveRecord::Base @@statuses = {:wait => ''No yet'', :ok => ''Run run run''} validates_inclusion_of status, :in => @@statutes.keys Serialize status, Symbol def self.statuses @@statuses end end Then, I can use Vehicle.statuses.invert to
2006 Aug 17
0
encode and umlauts - Form.serialize
Hi list I have a problem with a script of mine. I have a simple textarea and i want to send the contents to a php file for saving it by using ajax.request. Now everything works fine, except if i enter umlauts. The script then fails and the browser refreshes itself (simple submit due to script failure). This is not really related to Script.aculo.us or Prototype but maybe some of you can help me.
2005 Dec 14
2
RE: Form.serialize and Ajax.Request->fileserialization and encoding
I''d bet money that they use a hidden iframe. Gmail already uses that to avoid breaking the back button, from what I''ve read. It''s impossible to send multipart form data through XMLHttpRequest, or so everything I read says and my own personal attempts confirm. There is an IE ActiveX plugin that will let you send files in a similar fashion, but it''s IE only. I