html - Get text when inputing content with Input tag by Javascript -


I will tell you about your program question.

& lt; Label = "test" & gt; Username: & lt; / Label & gt; & Lt; Input type = "text" id = "test" & gt; & Lt; P id = "" & gt; & Lt; / P & gt;
  $ ("#search"). Onclick (function () (warning ('xx');})  

I want to realize this function: p tag displays real time < Code> input tag content when I input something

Thank you.

You funnel event,

  $ ("# Test") can be used. Key (function () {$ ("# paragraph"). Html (this.value);});  


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -