Hi I am trying to send a search query and I have everything working except, when I create a search it says undefined when the search results. What am I missing in this code?
PHP Code:
_container.txt_input.input_txt.onSetFocus = function(newFocus:Object)
{
if(this.text == 'TYPE YOUR QUESTION HERE????.' )
{
this.textColor = 0x000000;
this.text = '';
}
}
_container.btn_getAnswers.onRollOver = function ()
{
TweenMax.to(this.grad, .35, {_alpha:0});
}
_container.btn_getAnswers.onRelease= _container.btn_getAnswers.onRelease = function ()
{
TweenMax.to(this.grad, .5, {_alpha:100 });
getURL("http://search.bmwusa.com/?q=" + escape (_container.txt_input.input_txt), "_blank");
}
}
the input text has an instance name of input_txt
can anyone help me?