阅读背景:

按下提交将ajax的结果附加到div

来源:互联网 

I am working in wordpress and this is an ajax call and I want the result of a row returned to a div with id #hero. Now since the result is a for loop and hero div is in each row. And the form has multiple submit buttons. Pressing the submit button of a particular row should return result to #hero div of that row only. I mean the closest div (the very next div with id as hero). The ajax call returns the result on first click and the result is shown in hero id div. But it does not work when I press submit button again. Kindly note that their are multiple submit buttons associated with form and they are basically stars as I am trying to build a star rating system in wordpress.I am working in wordpress and this is an ajax c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: