Skip to content

Changing selected option is not working right #5

@photonite

Description

@photonite

When submitting a form the first option value is always being submitted.

I suggest a fix:
(line 40): selected = _select.find('option[value="'+$(this).data('val')+'"]' );
_select.val(selected.val());

this fix worked for me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions