[jQuery] Re: I am new to this Jquery....i need to display 4 messages(in news sectiiion) one after another in a div tag

2009-06-22 Thread ryan.j
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

[jQuery] Re: I am new to this Jquery....i need to display 4 messages(in news sectiiion) one after another in a div tag

2009-06-22 Thread waseem sabjee
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

[jQuery] Re: I am new to this Jquery....i need to display 4 messages(in news sectiiion) one after another in a div tag

2009-06-22 Thread Charlie
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

[jQuery] Re: I am new to this Jquery....i need to display 4 messages(in news sectiiion) one after another in a div tag

2009-06-22 Thread waseem sabjee
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.