js default three kinds of shells in frame

<! - default JS embodiment three kinds of elastic block -> 
<! - WARNING -> <div onclick = "alert ( ' warning')"> the onclick </ div>! 
<! - acknowledgment -> < div onclick = "confirm ( 'confirmation')"> onclick </ div >! 
<-! information input -> <div onclick = "prompt ( ' input information')"> onclick </ div >!

  

Guess you like

Origin www.cnblogs.com/Salicejy/p/10944427.html