The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript create html tag with javascript

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #279930


    i’m not a javascript developer, but i tried to write a small script. Codesnipping from various sites :(.

    Well. I’ve a table in “Google spreadsheets” –> Link

    Every Entry should like a picture with additional attributes, like the first entry in google spreadsheets .

    I have create a table with 2 columns. All my entries in the table should like this code from me ->

    Current i can import the text from google drive, but dont know how i can put the text into html code. Its an array from javascript.

    my current code


    nobody knows a good answer ?


    I’m not sure what it is you’re asking for here, but when using vue, I don’t think you should be creating html elements with javascript, but use the ones in your template.
    So if you want to have the image being shown, then you can use <img></span> for rendering the image with the source instead of {{item.bild}}. Because the latter just outputs text. You don’t have to create an image element yourself for this, just change this in the template.


    I want to display the pictures. In the Google sheets are the links.
    also are the tags and description.

    my code is

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.