array ( 'method' => 'GET', 'user_agent' => ('EOD Search Widget') ) ) ); $response = @simplexml_load_string(file_get_contents($url, FALSE, $context)); if ($response instanceof SimpleXMLElement) { $output = '
'.htmlspecialchars($response->channel->description).'
'; $output .= 'Get all results on the EOD website!
'; } else { $output = 'An error occured!
'; } jQuery('#eodSearchResults')->html($output); jQuery('#eodSearchSubmit')->removeAttr('disabled'); jQuery::getResponse(); ?>