Question : Jquery Focus

Can anyone tell me why my focus event is not functioning? I'm at a loss. Want it to focus on the input box onready.

http://www.searchcredible.com/

I've tried with jquery and plain old javascript:
 $("#qtext").focus();
 document.getElementById("qtext").focus();


Thanks,
Dan
 

Answer : Jquery Focus

I think its because on line 78: reportedq = importedq.replace(/\+/g, " ");
the importedq is undefined
try put the  $("#qtext").focus(); before this line
Random Solutions  
 
programming4us programming4us