balazs-endresz / jquery-translate

Automatically exported from code.google.com/p/jquery-translate
5 stars 5 forks source link

The character ">" become ">" in a "input" element. #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.see the page http://www.vdsoc.com, you'll see the button "Next >"
2. After traslation, the character ">" become ">".

What version of the product are you using? On what operating system?
jquery.translate-1.4.6.min.js
jquery-1.4.2.min.js

Original issue reported on code.google.com by yuzhao.b...@gmail.com on 21 Aug 2010 at 10:05

GoogleCodeExporter commented 9 years ago
The problem is that jQuery.fn.val() doesn't handle html entities, but .html() 
does:
$("#dnn_ctr481_Main_signup_btnNext").val(">");
So if you'd file bug at the jQuery issue tracker please post a link to it here! 
(For some reason, I can't even access any page if I'm logged in there).

Also, if you switch to the latest version of this plugin then some spaces won't 
disappear at the bottom of your page.

Original comment by balazs.endresz on 21 Aug 2010 at 2:25