javascript - Why this simple code not working on JSfiddle? -


http://jsfiddle.net/dolours/yazpj/577/ can't figure out issue js fiddle! why alert not showing up?

<input type='input' name='name' id='name' value="test" class='required' /> <input type="button" value="test" onclick="test()"/>  function test() { var testvalues = $('#name').val();    alert(testvalues); } 

you have set jquery in library option since using jquery in code. jsfiddle.net/yazpj/578/

enter image description here


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -