php - How to make a jquery tab contain an html form that redirects inside the tab? -


currently have section of page jquery tabs. tabs reference html pages, , each contain form enter details. on clicking submit button, ideally, details should submitted mysql database, , should redirected javascript form. i'm not bothered happens after that, there should happen inside tab.

i've managed mysql submit working, , i've verified inserts data database. however, loads php submit form whole new page, rather staying in tabs. doesn't redirect, although may have mistyped something.

i've got links work in tabs, in that, placed link in there , got load inside tab when clicked on it. can't seem work out part though :s

for form submit, i'm using php page, contains php writing database, followed javascript redirect in tags.

can help? thanks!

awesome guys, loads! it's working. :)

if anyone's interested, tutorial pretty helpful. http://www.ryancoughlin.com/2008/11/04/use-jquery-to-submit-form

i think you're using regular submission instead of ajax one. if so, read jquery related documentation:

http://api.jquery.com/category/ajax/

http://api.jquery.com/serialize/

http://api.jquery.com/submit/


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -