Results 1 to 2 of 2

Thread: ajax tab, form and iframe

  1. #1
    Join Date
    Dec 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default ajax tab, form and iframe

    1) Script Title:
    ajax tab content
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...axtabscontent/
    3) Describe problem:

    i made a form in a tab and the results appears in a iframe
    some links need to be connect with tab

    <a href="#" onClick=\'ajaxpage("raz.php?Raz='.$Id.'", "ajaxcontentarea", "", 1); return false\'>Raz?</a>

    links like this make some js error

    is there a way to do this ?

  2. #2
    Join Date
    Dec 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i found something but only work under ie, not firefox

    <a href="#" onClick=\'window.parent.ajaxpage("raz.php?Raz='.$Id.'", "ajaxcontentarea", "", 1); return false\'>Raz?</a>

    under ff :
    uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.open]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: javascript: eval(__firebugTemp__); :: anonymous :: line 1" data: no]

    someone can eplain me this ?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •