Unfortunately, the code you've shared below is not enough to see where the
problem is. Could you reproduce a simple test page here:

http://jsbin.com/

Thanks.

- Richard

On Wed, Apr 29, 2009 at 5:23 PM, Travis <[email protected]> wrote:

>
> I utilize a form inside a dialog to insert and update data about
> objects.  Below is the code i use to open the dialog. If I open the
> dialog and submit the form, all data fields entered are read
> successfully and submitted without a problem.  If i open the dialog,
> then cancel or x out of the dialog, then open it a second time and
> submit my form, the new inputs i entered aren't being read, instead it
> reads whatever the value of the inputs were on the first load.  Any
> help is appreciated.
>
> $(document).ready(function(){
>         $('#editUrlLink').click(function() {
>                         $("#linkDialog").dialog('open');
>                 });
> });
>
> function openLinkDialog()
> {
>        $("#linkDialog").dialog({
>                bgiframe: true,
>                autoOpen: true,
>                height: 350,
>                width: 475,
>                modal: true,
>                buttons: {
>                        'Submit': function() {
>
>  $.post('submit.cfm',$("#editLinkForm").serialize(),function
> (data,status){
>                                        window.location.reload();
>                                });
>                                $(this).dialog('close');
>                        }, //end upload button
>                        Cancel: function() {
>                                $(this).dialog('close');
>                        }
>                },//end buttons
>                close: function() {
>                         $(this).dialog('destroy');
>                }
>        });
> }
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to