Asp.net MVC, after using jeditable (Edit in place)
Posted
by coure06
on Stack Overflow
See other posts from Stack Overflow
or by coure06
Published on 2010-03-16T06:44:33Z
Indexed on
2010/03/16
6:46 UTC
Read the original article
Hit count: 426
asp.net-mvc
Ok, i can use jeditable to edit-in-place some content on a page and the content will be saved to a database. But whats the best way to re get that text-content from db to show into a place holder?
p id="paraNo34" class="editable" -->What i will write here so that it will get content from a db's table: [Content], where id=="paraNo34". /p
The problem is if i will use some hard coded text like
p id="paraNo34" class="editable" -->Some text here /p
I will able to edit-in-place using jeditable but when i will refresh page it will show the same "Some text here" as its not getting data from db.
© Stack Overflow or respective owner