http://jsfiddle.net/dolours/Yazpj/577/ I can't figure out what is the issue with this 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);
}