Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] passing YUI widget data to php program.

Expand Messages
  • Josh Peters
    Mark, what you will need to do is use the DOM to create hidden fields on the parent form s onsubmit event handler. If you can check out the example I posted to
    Message 1 of 2 , Oct 30, 2006
    • 0 Attachment
      Mark, what you will need to do is use the DOM to create hidden fields
      on the parent form's onsubmit event handler.

      If you can check out the example I posted to this list on mixing PHP's
      HTML_QuickForm and Calendar objects you will find a fairly complete
      example of how to do what you want.

      Josh

      On 10/28/06, MarkEnriquez <mark@...> wrote:
      > Hi...I'm pretty new to this YUI but I think its pretty groovy. I put
      > the calender UI in my php app and now I need an example of how to
      > pass the data from the local JW widget back into server php. I
      > suppose the idea is to use AJAX (the YUI Connection Manager), but
      > after poking around some I still have not found a suitable example.
      >
      > Also, I am having a problem with my formating...I am trying to center
      > the calender (using <div>) in a table but cannot get it right...
      >
      > <table border="0" width="100%" cellspacing="0" cellpadding="2" >
      > <div align="center" id="cal1Container"</tr>
      >
      > ...does not work. Any help appreciated.
      >
      > - mark
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.