Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

input type image rendering problem

more options

I have a input type image control in my page, the controls holds some custom attributes including a "value" attribute name, it also has a scr="..." attribute with a valid path for the image to be displayed.

Firefox 25.0.1 will render the value content instead of the "scr" image.

<input id="imgProduct" type="image" onclick="showMenu(this, event);" src="/images/icons/coquette/png/16x16/comment.png" propname="MOQ" distributorid="25"  parentvalue="25" value="50"  title="Changed in this context" ></input>
I have a input type image control in my page, the controls holds some custom attributes including a "value" attribute name, it also has a scr="..." attribute with a valid path for the image to be displayed. Firefox 25.0.1 will render the value content instead of the "scr" image. <pre><nowiki><input id="imgProduct" type="image" onclick="showMenu(this, event);" src="/images/icons/coquette/png/16x16/comment.png" propname="MOQ" distributorid="25" parentvalue="25" value="50" title="Changed in this context" ></input></nowiki></pre>

Змінено cor-el

Усі відповіді (1)

more options

And if you remove the value attribute, it displays the image?

I can't replicate the problem by adding a value attribute in the <input> tag on this page, so I wonder whether it is something specific to your site: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_image