View Full Version : ajax tab, form and iframe

01-21-2007, 07:41 PM
1) Script Title:
ajax tab content
2) Script URL (on DD):
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 ?:)

01-21-2007, 10:04 PM
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 ?