Skip to content

trigger event #11

@bogdancss

Description

@bogdancss

I have functionality that updated the input value in other way that typing into the input field (e.g. click a button and update the input to 'test value').

$('#search').val('test-value')

I need to trigger an event to update the width of the input field. I tried using jquery trigger with 'keydown', 'change' and 'input' events, but nothing happened:

$('#search').trigger('input')

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions