Wednesday, 15 April 2015

php - How do I submit my form using href? -



php - How do I submit my form using href? -

am using onclick='document.forms['form_name'].submit(); homecoming false;' doesn't work having href=results.php?page_no=1 etc, has dynamic links, examples show create work need utilize href="#" thought how can submit form , navigate page2? because want save check box values in session

add class hrefs (class="pagination") , id (id="form") form. can utilize jquery framework stuff.

$(".pagination").click(function(){ // page id, set form action params $("#formid").submit(); homecoming false; });

php javascript html anchor

No comments:

Post a Comment