YUI dialog - what's the equivalent of postdata when using "form" (not ('async")

Posted by jamesmoorecode on Stack Overflow See other posts from Stack Overflow or by jamesmoorecode
Published on 2009-08-19T22:46:18Z Indexed on 2010/03/20 10:41 UTC
Read the original article Hit count: 288

Filed under:
|

I'm creating a dialog with YAHOO.widget.Dialog. The dialog is fired off by clicking on a link, and the function the link uses specifies parameters that finally get added to a postdata option like so:

  var myDialog = new YAHOO.widget.Dialog("myDialog", {
    fixedcenter: true,
    // postmethod: "form",
    postdata: propString
  });

This works just fine, but now I need to do the same thing but using "form" instead of "async" - and there's no postdata for form submissions.

What's the right way to do this?

(YUI 2.7.0)

© Stack Overflow or respective owner

Related posts about yui

Related posts about dialog