• Hi
    I have loaded a html into a tab, if i submit the form in that html, the whole page refresh, how to prevent it?
    thanks
    from Peter (cmk128@hotmail.com)


  • I recommend using an IFRAME (or Ext.ux.ManagedIframePanel (http://extjs.com/forum/showthread.php?t=16590)).

    Otherwise you'll have to add a submit eventhandler to the form after it is loaded that stops the normal submit, collects the form data, performs and AJAX request and puts the response in the panel again.


  • Yah old school forms = submit page to itself, making entire page reload.

    Ajax = submit single bits of data but keep rest of page.

    You normally don't do both at once.. if you are using EXTJS.. use EXT JS form elements.. and have them work their magic.

    If you REALLY need both on the same page, I assume you can use an iframe to accomplish it, but the EXT JS form stuff is pretty nice...







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about reload the tab , Please add it free.