aooga Posted May 3, 2009 Share Posted May 3, 2009 I want to start out with: <a onclick=somefunction>new number</a> <p onclick=somefunction>1</p> <a onclick=somefunction>new number</a> <p onclick=somefunction>2</p> <a onclick=somefunction>new number</a> <p onclick=somefunction>3</p> <a onclick=somefunction>new number</a> I want to be able to click on everything - on the new number to add a new number to the list, on 1 or 2 or 3 to delete a number from the list. And I'd like to be able to add 1.5, then delete 2 then add 2.5 etc. ending up with 1 1.5 2.5 3 This sounds arbitrary but it's essential for the webpage I've got in mind. Thank you! Link to comment https://forums.phpfreaks.com/topic/156684-need-help-with-a-dynamic-linked-list-with-javascript-let-me-explain/ Share on other sites More sharing options...
Ken2k7 Posted May 3, 2009 Share Posted May 3, 2009 Can you post a working code? Link to comment https://forums.phpfreaks.com/topic/156684-need-help-with-a-dynamic-linked-list-with-javascript-let-me-explain/#findComment-825016 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.