Populate FILE field with default text

前端 未结 2 661
花落未央
花落未央 2021-01-22 01:32

I\'m trying to reutilize code that generates FILE fields for use when something is to be added to the database, and grayed out (and disabled) with data already in the database w

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-22 01:55

    This is not possible due to security restrictions. Imagine that this was possible, then one would be able to develop such a webpage:

    
    
        Gimme yer passwords.txt!
        
            

    I would instead just show it in a simple field.

提交回复
热议问题