Pergunta

$(document).ready(function () {
    $('#getIt').on('click', function () {

         });

});

I tried a lot of things but nothing work for me because I'm the new developer not easy for me so, when I click on the button, I want to send text input to wolfram alpha or library file that I didn't found in the web, and then I want to have a graph like wolfram alpha format to show at my img html

Foi útil?

Solução

You can take value from textbox and pass it into image attribute like this, and then implement it on your wolfram alpha project.

http://jsfiddle.net/x6HyZ/2/

$(document).ready(function(){
  $("button").click(function(){
     var myvalue = $("#textbox").val();
     $("img").attr("src",myvalue );
  });
});
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top