The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

clomby (1) [Avatar] Offline
#1
First of all "Ajax in Action" IS a damn great work! Thank to the authors!
I have a little add on to the listing on page 194. The code programmatically generates a form (clever simple thing) but does not work in IE because the name attribute is not recognized both for the form and the input texts.
To let it go add the line:
form.outerHTML = form.outerHTML.replace(/>/, " name="+form.name+">"smilie;
for the form element, and the line:
input.outerHTML = input.outerHTML.replace(/>/, " name="+input.name+">"smilie;
for the addParam function creating the input text elements.
Thanks again, and enjoy the book.