Atozed Forums

Full Version: JS change IWEdit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My example:
 
IWEdit.Text:='test1';

Template: {%IWEdit%}

JS: document.getElementById('IWEdit').value ='test2' or $('#IWEdit').val('test2');

JS good change value in IWEdit from test1->test2

I would like to now Intraweb detect change IWEdit with IWEditAsyncChange

procedure TForm1.IWEditAsyncChange(Sender: TObject;
  EventParams: TStringList);
begin
      WebApplication.ShowNotification('Change!', ntSuccess);
end;

This change event not work?! I forgot the property IWEdit?!