have a look at .append() and .appendTo() (
http://docs.jquery.com/Manipulation/append
and http://docs.jquery.com/Manipulation/appendTo )
append will add some content to the end of an element, append to will
append a specified element to another.
if that's all g(r)eek to you, here is a brief
I assume you with this done on an on click event
use the following html to test
div id=object
div
a class=displaymsg href=#Display Message/a
/div
/div
the script for the following html
script type=text/javascript
$(function() {
// wait for DOM to FULLY load
// declare the div with
waseem, why would you make this so complicated for someone just
learning jquery?
OP didn't provide any info on where messages are coming from. Creating
arrays, click counts etc when you don't have enough information to set
anything up is very likely going to confuse someone. A couple of
I'm just providing alternate ways because i do not have enough information.
On Mon, Jun 22, 2009 at 5:11 PM, Charlie charlie...@gmail.com wrote:
waseem, why would you make this so complicated for someone just learning
jquery?
OP didn't provide any info on where messages are coming from.
4 matches
Mail list logo