[jQuery] Re: DOM manipulation

2009-04-01 Thread Mauricio (Maujor) Samy Silva
$('.wrapper').height = '1000px'; and that will not work, because we don't have $('.wrapper') in working what should I do, to accomplish the desirable result? $('.wrapper').css('height', '1000px'); Maurício

[jQuery] Re: DOM manipulation

2009-04-01 Thread James
Try: $('.wrapper').height(1000); On Apr 1, 2:49 pm, gryzzly wrote: > Hello. > Let's say I have > $(document).ready(function() { >     $('.niceImage, .hiddenText').wrapAll(' div>');}); > > then I want to access newly inserted to the DOM div with class wrapper > and do something with it; > $(docum

[jQuery] Re: DOM manipulation white space issues

2007-04-25 Thread Dan G. Switzer, II
Josh, >> When you POST something to script this script should echo back content >of >> the div. Is your script echoing back extra newline. > >This is what was happening. I am using ColdFusion for the backend and I >had >to set to get rid of the extra junk. Depending on your version of ColdFus

[jQuery] Re: DOM manipulation white space issues

2007-04-24 Thread Josh Nathanson
When you POST something to script this script should echo back content of the div. Is your script echoing back extra newline. This is what was happening. I am using ColdFusion for the backend and I had to set to get rid of the extra junk. -- Josh

[jQuery] Re: DOM manipulation white space issues

2007-04-24 Thread Mika Tuupola
On Apr 24, 2007, at 3:04 AM, Josh Nathanson wrote: I am having trouble with jEditable/textarea that seems to be related to your issue. When I do a POST, and the textarea kicks back to the div, a space and two newlines are being inserted in the DOM in my div. If I go and re-edit the text

[jQuery] Re: DOM manipulation white space issues

2007-04-23 Thread Ariel Jakobovits
figured it out: I had ' ' between empty div's that get filled after the page loads and those were the culprits. I don't remember why I put those there, but I thought it was because the browsers don't like empty div's. Anyone know anything about this? - Original Message From: Ariel Jak

[jQuery] Re: DOM manipulation white space issues

2007-04-23 Thread Josh Nathanson
I am experiencing spacing issues with my divs that is apparently fixed when I delete white space between DIV's using firebug. I am having trouble with jEditable/textarea that seems to be related to your issue. When I do a POST, and the textarea kicks back to the div, a space and two newline