HTMLtags in input field

Posted by megapool020 on Stack Overflow See other posts from Stack Overflow or by megapool020
Published on 2010-05-16T07:50:53Z Indexed on 2010/05/16 8:00 UTC
Read the original article Hit count: 167

Filed under:
|

I have a question about inserting values into an input field from my MYSQL DB.

First I have a form to save data from an inputfield to the database. An extra script filters diacrits Á=>Á to html code. So Állo will be saved like Állo

When I insert the data from the DB to a 'div' it shows Állo. When I insert the data into a input field it shows Állo

What am I doing wrong

I use JQUERY to save data to the DB with the $.post method without pagerefresh. I also get the data from the DB with JQUERY $.post method without pagerefresh.

Hope somebody can help.

© Stack Overflow or respective owner

Related posts about html

Related posts about jQuery