- 0
HTML/JS encoding question
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Microsoft introduces TypeScript 5.4: Explore the latest features and enhancements
By zikalify,
- microsoft
- typescript
- (and 4 more)
- 11 replies
- 2 views
-
JavaScript All-in-One For Dummies (worth $24) free in exchange for your email
By News Staff,
- ebook offer
- javascript
- (and 3 more)
- 0 replies
- 3 views
-
JavaScript from Frontend to Backend ($20.99 Value) FREE for your work email
By News Staff,
- ebook offer
- sponsored
- (and 3 more)
- 0 replies
- 3 views
-
Google to discontinue the Basic HTML version of Gmail next year
By Chasethebase,
- 1 reply
- 4 views
-
Firefox vs Chrome: Mozilla finally manages to trump Google on Windows in a decade old test 1 2
By hellowalkman,
- 33 replies
- 4 views
-
Question
eliokh
Hello,
I need to ask a small question about character encoding in HTML.
When submitting a form, i am doing a client side validation that will read all data from the form and "Escape" it in a way to transform < into > single quotes to ' etc .
[/size]
[size=3][font=arial, helvetica, sans-serif]now the problem arises when i have for example a submit button with value "J'accept". When clicking it , its value becomes J'accepte.[/font]
[font=arial, helvetica, sans-serif]What function in javascript should i add so the display is not modified?[/font]
[font=arial, helvetica, sans-serif]thank you in advance.[/font][/size]
Link to comment
Share on other sites
3 answers to this question
Recommended Posts