I actually am just learing jquery/js/css/html/everything all while building this page so lol
normally i am fine but this has made me really stuck
Sweet Coding :)
@SweetCodingInc
pastebin is blocked at my work proxy
Arun Shah
@ameeno
ok what else?
Sweet Coding :)
@SweetCodingInc
can you see if it works for $(data).find('programme')
Arun Shah
@ameeno
yep! that worked for sure
Sweet Coding :)
@SweetCodingInc
great
_
Arun Shah
@ameeno
could you please tell me how i would update <div class="row suggestion-image-row
Sweet Coding :)
@SweetCodingInc
then you just got the selector order wrong
should have been $(data).find('Data programme')
Arun Shah
@ameeno
because i want to randomly populate <div class="Suggestion col-md-2 col-md-offset-1 suggest">
ok how to we get the upload to work with the xml?\
Thanks Sweet coding! :)
Sweet Coding :)
@SweetCodingInc
hold on... let's fix that image part first
no worries :+1:
so this one <div class="row suggestion-image-row
what do you want gone inside this?
Arun Shah
@ameeno
well instead of <div class="Suggestion col-md-2 suggest"><img src="./images/no-content-img.png"><br />No Contents</div>
I want it to update to <div class="Suggestion col-md-2 suggest"><img src="./images/{text id}.jpg"><br />{text: title}</div>
Sweet Coding :)
@SweetCodingInc
Right.. then you can just create new elements like you created new li elements
don't use <br/> btw
Arun Shah
@ameeno
i have used {text} to signify ajax values. also i am limited to 5 columns but 20 items (A later) part is i need to be able to change the images based on slider control
can i not simply update the existing feilds rather than make new ones?
Sweet Coding :)
@SweetCodingInc
Technically, you could...
Arun Shah
@ameeno
Is there any way i could push all my xml to a "STACK" and update the images based on slider controls from the stack?
Sweet Coding :)
@SweetCodingInc
but then again, you will have broken images that you have added there that don't have any src until your ajax responds
@ameeno There is, but you'd have to implement that part personally.
There is no built in mechanism for that
Arun Shah
@ameeno
Sweet coding ok well,
the existing images are just the same image over and over a "Place holder" image