Kauder: OrderList ”.split’,’ is an option buy eh.
Magalski: Cork: it also seems that when using the code you provided, it shows the items as “todo-35” instead of the actual item
Bronk: I must be doing something wrong in between adding and loading
Dezarn: Kulelu88: did you use the /1 version?
Desher: Cork: the second version
Gluc: They should be doing the exact same thing
Shantz: Then when I add a new item, it will add it to the bottom not as a new li, and when I hit refresh, it show show 2 blank li and then “todo-37”
Honor: Kulelu88: could you make a jsfiddle with the effect you see?
Salzman: I don’t want to give you grief, but is there a reason why this JSFiddle doesn’t run: https://jsfiddle.net/7x9x2cvd/ ? It is exactly all the code I have
Roeschley: There is no extra code. I included every CSS, every JS dependency
Lang: Please don’t write any code for me Cork I ***ume you aren’t, just looking for some guidance as to where I am *****ing up
Neihoff: Heh no i have work enough to write my own :
Caputi: Everyone kept telling me – create a JSFiddle – yet when I did, it didnt work 😀
Toner: Hmm it appears to be depending on ajax
Badura: I need to see what the array you get contains so i can check why the .map fails
Mcpartland: Kulelu88: could you run a console.logJSON.stringifyorderList before the line where it builds the list?
Wolkowiecki: That output should give me everything i need to see why the code fails
Miyake: Cork: I got a working example for you in JSFiddle now 😀
Forgach: Cork: please try this one instead: https://jsfiddle.net/7camhnjt/1/
Maciejko: That previous 1 uses a broken pubsub.js
Hefferon: Hmm looks like old cache
Sewester: Cork: is that Chrome?
Barkema: No the old pubsub.js was in my browser cache
Griebel: Ok, and the code you want to replace is line 19-26?
Gepner: Cork: well that is my code as is. my goal is to render each item with something akin to this: http://www.w3schools.com/jquerymobile/tryit.asp?filename=tryjqmob_lists_views
Aines: So it *works*, but the lis are not rendering like they should
Pompilio: No need for the a href=”#”
Makris: Why include broken links when you don’t plan to use them
Pergola: Cork: this part here: a href=’#’X/a/li” ? that is for deleting the item
Litwiler: Kulelu88: use buttonx/button for actions
Ridel: You can style buttons to look like links if you want that design
Sigworth: That is probably where I got confused Cork , cause this example shows them using a for that effect: http://www.w3schools.com/jquerymobile/tryit.asp?filename=tryjqmob_lists_views
Stockbridge: Kulelu88: had to fiddle a while to fix the github references but here is how i would do it https://jsfiddle.net/7camhnjt/5/
Maffitt: Kulelu88: note that you need to use //rawgit.com/ if you want to use it as a resource
Rohla: Else the mime type will be wrong
Akamiro: Kulelu88: also note that i added a script tag at the top of the html section
Prchal: Kulelu88: and for the styling https://jsfiddle.net/7camhnjt/6/
Cathell: Cork: how do you render each of them into their own lis so that it ends up looking like this: http://www.w3schools.com/jquerymobile/tryit.asp?filename=tryjqmob_lists_split
Adrien: Kulelu88: don’t use w3schools; ever
Loredo: That was my main problem, to get the button and content split into boxes
Kolesnik: It is a horrible site for reference
Vicent: Oh, sorry, I didn’t know I shouldn’t use it
Deibel: I see that they ‘abuse’ a like you mentioned