infos@wais-fr.com (29) [Avatar] Offline
#1
It seems to me there is a typo error :

frame.name = ‘post-review’;

form.target = ‘post-product’; --> should be 'post-review' ?
benvinegar (68) [Avatar] Offline
#2
Re: Listing 4.7 HTML form submitted into a hidden iframe
You're right. We'll fix.
infos@wais-fr.com (29) [Avatar] Offline
#3
Re: Listing 4.7 HTML form submitted into a hidden iframe
It seems there is also the error:

form.appendChild(book); --> should be form.appendChild(score) ?
form.appendChild(rating); --> should be form.appendChild(message) ?