+ 4
How to make the p tag changable when clicked?
8 odpowiedzi
+ 4
try::
<p contenteditable="true"></p>
+ 1
you question is unclear..
you want to change the innercontent?
you want to change the tag itself?
+ 1
I want to change the content
+ 1
Wait, do you want the element to act as an input or just change it's contents to something else.
+ 1
I want it to act as an input
+ 1
thank you
0
why not just use
<input type="text"/>
0
$('p').text(val)