Posted By

suibhne on 07/06/09


Tagged

form input jquery


Versions (?)

Set Form Input Value


 / Published in: jQuery
 

Just something simple to set and get the value of an form input field.

  1. $(this).attr('value', 'newvalue');
  2. $(this).val();

Report this snippet  

You need to login to post a comment.