0
$(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

4

1 回答 1

1

您可以像这样从文本框中获取值并将其传递给图像属性,然后在您的 wolfram alpha 项目中实现它。

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

$(document).ready(function(){
  $("button").click(function(){
     var myvalue = $("#textbox").val();
     $("img").attr("src",myvalue );
  });
});
于 2013-11-03T14:25:44.727 回答