Skip to content

How to trigger change event #4

@yahyaerturan

Description

@yahyaerturan

I am using “overlay” mode, it is simply amazing. Thanks. Yet I have one question. I need to trigger change event from outside. I init it as:

vwt_SelectInstance = new selectFx(el,{stickyPlaceholder:false, 
  onChange:function(el){
    $('.jq-exf-conditional').load("<?=base_url('app/load_form');?>",{f:el});
  }
});

How can I trigger onChange event after page is fully loaded.

< ?php if($id==TRUE):? >
vwt_SelectInstance.trigger('change') // I need something like this :)
< ?php endif;? >

Thanks for any help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions