Hello -

I have been spending a lot of time trying to figure out how to debug my similar issue.

I have a form. I have a hidden piece of code:
<div id="inner_content" style="display:none;">
    <div style="background:#669966;color:#ffffff;padding:5px;"> 
        <h3>Note</h3>
        <p><webobject name = "note"/></p>
<p><br /><div class="yellow-right" id="saveNote"><webobject name="NoteSubmit">Save Changes</webobject></div></p>
    </div>
</div>

The problem is that note is always null?

Any thoughts.

James Cicenia


On May 14, 2008, at 7:24 AM, Mike Schrag wrote:

Correct me if I'm wrong but display:none removes the element from the DOM tree. Why don't you use visibility:hidden instead?
It doesn't remove from the DOM, rather it removes from the render tree so it doesn't have any flow side effects ... visibility:hidden causes the element to reflow the page, but it just doesn't draw its contents within its bounding box, which is usually not really desirable.

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/james%40jimijon.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to