I've am trying to add a DIV in an existing - very complicated - jQuery/JS app. I want this DIV to appear under the textbox and button - see attached image.
I'm adding the DIV with the second .appendTo line (strNewErrMsg div). I just tried adding the <br /> to get it to go onto a new line - but that is not working.
It's got to be some kind of float thing that the accordion has. I always struggle with div float - I don't want to hack at this.Code:$('#acs-button-list .acs-panel-btn-clear').clone().appendTo("#" + strNewAccordionDiv).removeAttr("id") .addClass("acs-tracker-buttons") .addClass("ui-state-highlight"); $("<br /><div id='" + strNewErrMsg + "'></div>").appendTo("#" + strNewAccordionDiv);
Thanks !




Reply With Quote