Convert javascript prompt to html form -


i'm trying convert javascript gives user prompt html form displays output in span. i've been searching net haven't found way can understand.

this code: http://jsfiddle.net/nickykw/tmxmj/15/

i'd output of script displayed in "outp" span. if can point me in right direction i'd grateful.

thanks

this if allowed use jquery , name controls. if not allowed use jquery hope idea.

$(document).ready(function(){     $('.submit-button').click(function(e){         e.preventdefault();         var number = parseint($('.submit-input').val());         $('#outp').html(num2letters(number));            }); }); 

fiddle: http://jsfiddle.net/q2p7h/


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -