Greetings all, Working on the JS/jQuery this rainy Sunday afternoon. I've trying to capture submit on a form and update a span on the page with the value from the textarea. The mechanics of submit intercept and updating the field is somewhat trivial. What I've having trouble with is the formatting of the span. The value of the span when the page is loaded may contain 1-n number of paragraphs. When the user submits the form when I update the span via jQuery text() or html() I loose all formatting. In other words no breaks on the paragraphs. I've even tried adding some nl2br JS code I found but this just puts the <br /> code into the span but it doesn't get rendered by the browser.
Sadly this is part of a large plugin I'm working on so can't really provide sample code. Any thoughts would be appreciated. Paul --~--~---------~--~----~------------~-------~--~----~ Our Web site: http://www.RefreshAustin.org/ You received this message because you are subscribed to the Google Groups "Refresh Austin" group. [ Posting ] To post to this group, send email to [email protected] Job-related postings should follow http://tr.im/refreshaustinjobspolicy We do not accept job posts from recruiters. [ Unsubscribe ] To unsubscribe from this group, send email to [email protected] [ More Info ] For more options, visit this group at http://groups.google.com/group/Refresh-Austin -~----------~----~----~----~------~----~------~--~---
