hi, i have an ajax run unexpected in show page but not in index page, when i click the ajax in show page it will return an index page, not to update the value when i click like it work in index page. actually the ajax code is same for index and show page.
=== show.html === <form> <input type="hidden" id="id" name="id" value="" /> </form> {{=H1(page.title)}} {{=DIV(page.content)}} {{=DIV(db.blog_category[page.category_id].category)}} {{=SPAN(page.like, _id = 'blog_like_%s' % page.id)}} {{=SPAN(T('People Like This'))}} <span onclick="jQuery('#id').val('{{=page.id}}'); ajax('blog_like', ['id'], 'blog_like_{{=page.id}}');"> {{=A(T('Like'), _href = '#')}} </span> i know it seems like i missed something in my code, did anyone know which part i missed and how to solve it? any hints, corrections is greatly appreciate, thank you so much in advance.