Javascript change div content upon a click

后端 未结 3 1762
花落未央
花落未央 2021-01-25 03:30

I\'m pulling a content from PHP array and I have a situation like this:

 
04/25/2011 10
3条回答
  •  孤街浪徒
    2021-01-25 04:30

    What you suggest is basically correct. I would generate two div's one for display and one edit. The edit div will initially have display: none. When the Edit is clicked, hide the display div and show the edit div.

提交回复
热议问题