Re: <button> tag

From: Date: Tue, 20 Apr 2004 08:55:15 +0000
Subject: Re: <button> tag
Groups: php.general 
Request: Send a blank email to php-general+get-183950@lists.php.net to get a copy of this message
Acutally, I've just worked out why its not working: I have multiple <button> tags on the same page which all do different things (edit/delete/new...). They are all called 'submit' (name='submit') and have different 'value' values in order that the receiving script may distinguish between them: <button name='submit' value='edit'>Edit Item</button> <button name='submit' value='delete'>Delete Item</button> It seems that MSIE doesn't send the value of 'value' when the form is posted. Does <input type='submit'...> allow this sort of functionality? Cheers, Richard Richard Lewis wrote: > Hello PHPers, > > I'm not sure whether this is the best place to post this message... > > Some of the forms I'm using in a PHP project I'm working use the <button > type="submit ...> tag to submit. > > They are working fine on Konqueror but don't seem to work properly on > MSIE. I tried inserting the debug code: > > echo var_dump($_POST); > > into the receiving script and in both Konqueror and MSIE all the values > were present. > > Does anyone know what might be going on here? > > Cheers, > Richard

« previous php.general (#183950) next »