#9339 closed bug (worksforme)
weird insert behavior
Reported by: | Gijs | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | manipulation | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
all jquery versions, all browsers, windows vista,
to explain the problem see this jsfiddle http://jsfiddle.net/Fx74b/12/
I'm beginning to wander if this is a bug.. i can't figure it out
Change History (2)
comment:1 Changed 12 years ago by
Component: | unfiled → manipulation |
---|---|
Priority: | undecided → low |
Resolution: | → worksforme |
Status: | new → closed |
comment:2 Changed 12 years ago by
That doesn't solve the case, i need to close the list, add a title and open the list again. The solution you gave is adding a list inside of the list. The output needs to be like this: <ul> <li>1</li> <li>2</li> <li class="afterthis">3</li></ul><h1>Title</h1><ul> <li>4</li> <li>5</li> </ul>
Note: See
TracTickets for help on using
tickets.
Thanks for submitting a ticket to the jQuery Project!. I've tested your code across a number of browsers (and wondered why the rendered output being generated was incorrect), but then noticed that your markup appears to contain an issue. Rather than:
I believe you meant:
If you test this latter version (Firefox, Chrome etc), you'll find that it should behave as expected now.
Revised test case: http://jsfiddle.net/Fx74b/13/