Here\'s my jQuery:
var docname = $(\'#doc\').val(); function parseXml(xml) { $(xml).find(\"rsp\").each(function() { alert(\"success\"); }); } $
var docname = $('#doc').val();
Exactly where is this in your code and when will it be evaluated? My guess is that it's executed either when the