This project is archived and is in readonly mode.

#402 ✓wontfix
Rodrigo Menegazzo

Request Send doesn't post hidden fields on FF2

Reported by Rodrigo Menegazzo | September 29th, 2008 @ 05:22 PM | in 2.0 (closed)


	window.addEvent('domready', function() {
		$('optimise').addEvent('submit', function(e) {
			e.stop();
			var log = $('log_res').empty().addClass('ajax-loading');
			this.set('send', {onComplete: function(response) {
				if(response=='sucess') {
					var reload = $('waitmsg').setStyle('visibility', '');
					document.location.reload();
				}
				else {
					log.set('html', response);
				}
				log.removeClass('ajax-loading');
			}});


			//Send the form.
			this.send('/post.php');
		});

	});



<input type="hidden" name="field1" value="123">
<input type="input" name="field2" value="456">

<input type="submit">

On this form, only field2 will be posted.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages