Best way to include unobtrusive information on a web page

前端 未结 7 941
栀梦
栀梦 2021-02-06 16:34

So I\'ve got some scripts I\'ve written which set up a Google map on my page. These scripts are in included in the of my page, and use jQuery to build

7条回答
  •  无人及你
    2021-02-06 17:12

    I would not reccomend using style to hide something, it will show up in browsers without (or with disabled) css suppor and look strange.

    You could store it in a javascript variable or add a form with hidden values like this (inside an unused form to be sure it validates):

    wich you can read and update from javascript.

提交回复
热议问题