I want javascript to be able to call a php script (which just echos a string) using jQuery.
I think $.get is the right way, but not too sure.
$.get
I
$.get() is the right way.
$.get('ajax/test.php', function(data) { // use the result alert(data); });