python flask jquery获取问题

What is the mystery of this Web Server issue.

Here is my code its work well on local server, but in the Web Server it's doesn't work:

$.ajax({
      url: "/flask/templates/table.html",
      type: "get",
      data: {jsdata: $( "#select option:selected" ).text()},
      success: function(response) {
        $("#place_for_suggestions").html(response);

      },
      error: function(xhr) {
        // handle error
      }
    });

The flask side:

@FlaskApp2.route('/flask/templates/table.html', methods=['GET', 'POST'])
def table():

    modid = request.args.get('jsdata')

    print "Hello!!!!!!!!!!!!!!!!", modid 
    return render_template('table.html')

I try to see any activity in @FlaskApp2.route but I see only silent !

What is wrong with this code?

The verbs of the methods=['GET','POST'] are case sensitive when matching your route. So in your .ajax use method: 'GET' instead of type: 'get'. On later versions of jquery type has been replaced by method.