The concept is basically the same.

You would add something like:

$('#my_target_element').append('<p>' + item.title + '</p>')





On Jan 16, 1:01 am, desbest <afanintheho...@gmail.com> wrote:
> How do I use the JSON api to enter a value in a <p> tag?
>
> Code is herehttp://codedumper.com/flickr-api-using-jquery-json
> Example is herehttp://sampleswap.uk.to/json/test.html
>
> Yeah the code I've got is  fine for images. But what if I want to
> create a <p> and fill it with data from the api.

Reply via email to