Extension list

yootheme

ecommerce

joomla

Skip to main content

List of all our extensions

Create an account

phshippingmethodfield serialize() only detects input, not select

Hi,

while developing a custom PCS plugin I noticed that the phshippingmethodfield can sometimes be a <select> instead of an <input>, but the serialize() in default_right.php only handles inputs.
Code:
var phshippingmethodfield = jQuery('input[name^="phshippingmethodfield"]');
Would it be possible to include both (input and select) in the selector?
Code:
var phshippingmethodfield = jQuery('input[name^="phshippingmethodfield"], select[name^="phshippingmethodfield"]');

Thanks!

Please Log in or Create an account to join the conversation.

Time to create page: 0.469 seconds
Powered by Kunena Forum