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
Post a Comment