How do i read the HTML input type=text to delphi?

Hi , 


i have a HTML input , with id="edit_input_name" , how can i read it in
my ASM block and then pass it back to Delphi ?

ASM
   // read the HTML input field "name" and then pass it back to delphi ?

END;

showmessage("changed "+ edit_input_name_var_from_js )  ;

Thanks. 

var

  s:string;
begin
  asm
    s = document.getElementById(edit_input_name).value;
  end;
  ShowMessage(s);
end;