First, in your code above you set a value to the window.location
property... I believe, the value type must be string so this would be
valid:

window.location = "http://www.google.com/";;

Second, I haven't heard the term "combo box" in relation to HTML....
you mean a SELECT element, right?

To answer your question, I don't see why you couldn't attach the event
handler after the AJAX response....

1. You get the AJAX response
2. You create the combo box
3. You append it to the DOM
4. You attach an event handler to it

Reply via email to