×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: userc865b
Added: Jun 2, 2017 6:37 AM
Modified: Jul 3, 2017 1:29 PM
Views: 4
Tags: jq
  1.  
  2. <input id="was" test="das" value="10"/>
  3. $('#was').val()
  4. //alternativ
  5. $("input[id=was]").val()
  6. // oder
  7. $("input[test=das]").val()