I have a PHP form in a jQuery DOM window (just like jQuery Dialog),
and when the form is sent I want to change the HTML in the div in the
DOM window.

The problem is  that the div is not changing in the DOM window. When I
relaunch the DOM window, then I can see the change.

// When the form is sent, the following change is not being updated
live in the inlineContenContactForm div in the DOM window
// Only when I relaunch the DOM window I can see the change
 $('#inlineContenContactForm').html("<div id='message'>'Form
Submitted"</div>");




// To launch the DOM Window:
 $('.readMoreDOMWindow').click(function(){
    $.openDOMWindow({
        windowSourceID:'#inlineContenContactForm',
        height:220,
        width:320,
        overlay:0,
        positionType:'anchoredSingleWindow',
        windowPadding:20,
        windowBGColor:'#ccc',
        borderSize:'0',
        anchoredSelector:'.readMoreDOMWindow',
        positionLeft:120,
        positionTop:-150
    });
    return false;
});

Reply via email to