PDA

View Full Version : Dynamic Ajax Content: Submit Form



glordain
08-12-2007, 06:31 PM
1) Script Title: Dynamic Ajax Content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

3) Describe problem: I am trying to submit my form using the Dynamic Ajax Content script, and I wondered how I can use "document.authform.submit();"
for example:

<A href="javascript:ajaxpage('document.authform.submit();', 'contentarea');">link text</a>

instead of the default <A href="javascript:ajaxpage('mypage.html', 'contentarea');">link text</a>

I would really appreciate any help!

Many thanks