<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><font size="2" face="Arial"><span>hrm, all I can think of is maybe callback is
required...</span></font></div>
<div dir="ltr" align="left"><font size="2" face="Arial"><span>add</span></font></div>
<div dir="ltr" align="left"><font size="2" face="Arial"><span>callback: function(){alert('Maybe Im
required')},</span></font></div>
<div dir="ltr" align="left"><font size="2" face="Arial"><span>somewhere in there</span></font></div>
<div dir="ltr" align="left"><font size="2" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font size="2" face="Arial"><span>did <font size="3" face="Times New Roman">"getStringItem1" and "item2" make it inside the $_GET
array?</font></span></font></div>
<div dir="ltr" align="left"><font><span>In firebug, when
you look at the response you are getting back is it completely
empty?</span></font></div>
<div dir="ltr" align="left"><font><span>If so, try putting
an echo an the beginning of your php file to see if it is even getting
there.</span></font></div></div></blockquote></div><br><br>Adding the callback did take care of the javascript error, but Firebug is still showing an empty POST (though <font size="2" face="Arial"><span><font size="3" face="Times New Roman">"getStringItem1" and "item2" </font></span></font>are in the Params section). <font size="2" face="Arial"><span><font size="3" face="Times New Roman">The values do not make it into the $_POST array however they are in the $_GET array.<br>
<br>I also tried doing a GET a couple of different ways, both with different results:<br><br>new OpenLayers.Request.issue({method:'GET', url:.....});<br>Nothing happens, the GET never even shows up in Firebug.<br>
<br>new OpenLayers.Request.issue({url:...});<br>Since GET is the default I tried this method as well and got the javascript error:<br><br>Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 <br>
(NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: "0x80070057 <br>(NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: <a href="http://openlayers.org/api/OpenLayers.js">http://openlayers.org/api/OpenLayers.js</a> :: <br>
anonymous :: line 511" data: no]<br><br>Hopefully using a POST and accessing the $_GET array will work for my code. Being a relative newbie to PHP and AJAX, I don't know if this is intended behavior for OpenLayers.Request but I wanted to document my results. Thank you for the help!<br>
</font></span></font></div>