Posted By

kermit71 on 07/08/06


Tagged

jquery


Versions (?)

Who likes this?

9 people have marked this snippet as a favorite

jonbaer
jkochis
mary
bartekk
francisre
vali29
arnold
seanpowell
aegony


JQuery use ID


 / Published in: JavaScript
 

  1. /* Javascript */
  2. $("p#text").html("hello");
  3.  
  4. /* HTML */
  5.  
  6. <p id = "text">abcdefg</p>
  7.  
  8. /* Result */
  9. hello

Report this snippet  

You need to login to post a comment.