<HTML><Head> <title></title> <Scripttype= "Text/javascript"defer= "Defer"> functionSetselecttext (el, start, end) {varRange=Document.body.createTextRange (); Range.collapse (); Range.movetoelementtext (EL) Range.moveend ('character', end); Range.movestart ('character', start); Range.Select (); } </Script></Head><Bodystyle= "position:relative;"> <DivID= "Pinyinblocks"> <P> <spanID= "Start"></span>one difficult Yue: 12 by all have arteries, alone take cunkou, to organs die born inauspiciousness law, what is also? However: Cunkou, pulse of the Assembly, the pulse of the hands of the lunar also. </P> <P>One call, pulse line three inches, a suction pulse line three inches, breathing fixed income, pulse line six inches. One day one night, where 13,500 interest, pulse line 50 degrees, weeks in the body. Water leakage under hundred, Rongwei Yang 25 degrees, line Yin also 25 degrees, for a week also. So 50 degrees resumed in the hand of the lunar. Cunkou, organs of the end of the beginning, so the law was taken in Cunkou. </P> </Div> <inputID= "Text1"type= "text" /> <inputID= "Text2"type= "text" /> <inputID= "Button1"type= "button"value= "button"onclick= "Setselecttext" (document.getElementById (' Start '), document.getElementById (' Text1 '). Value, document.getElementById (' Text2 '). Value) " /></Body></HTML>
Automatically check the text in the Div