×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: userc865b
Added: Jun 2, 2017 7:14 AM
Modified: Jul 3, 2017 1:29 PM
Views: 11
Tags: jq
  1. <input id="test" was="Hallio" value="1"/>
  2. $("#test").attr("was") // --> Hallio
  3. $(this).attr("was")