Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

javascript not working on dx.com

  • 3 àwọn èsì
  • 8 ní àwọn ìṣòro yìí
  • 2 views
  • Èsì tí ó kẹ́hìn lọ́wọ́ cor-el

more options

go to http://club.dx.com/reviews/photos/46136/add

Click the orange "browse" button next to select image. On Chrome and IE it opens a file picker box. On firefox it returns href="javascript:void(0);"

I have duplicated this error using windows XP with firefox 18.0.2 and 19

I saved the source code of that page in chrome and firefox and Winmerge says the files are identical.

I restarted firefox in SAFEMODE and the problem is still there. I created a NEW PROFILE and the problem is still there

go to http://club.dx.com/reviews/photos/46136/add Click the orange "browse" button next to select image. On Chrome and IE it opens a file picker box. On firefox it returns href="javascript:void(0);" I have duplicated this error using windows XP with firefox 18.0.2 and 19 I saved the source code of that page in chrome and firefox and Winmerge says the files are identical. I restarted firefox in SAFEMODE and the problem is still there. I created a NEW PROFILE and the problem is still there

All Replies (3)

more options

reproducible on Fx 19 and Windows xp,

working on Firefox 19, 20 and 21 in ubuntu.
Bug filled

more options

It works if I click the input field and the left part of the Browse button and you get the tooltip, but not if I click the right half of the Browse button and you see the javascript:void(0); pop-up.

There are two input fields and the first one has type="file" and z-index:2 that is used to select a file.
The second input field is a span with class="fakefile" and z-index:1 with a second input field and a Browse link to style the appearance of the input area.
The first field end halfway on the Browse button on Linux.

So this looks like an example of bad page coding.


<span class="con pr">
 <input name="PicName[0]" class="file required maxImgSize" title="Please select an image (png, jpg, bmp, gif)" type="file">
 <span class="fakefile">
  <input class="text">
  <a class="browse" href="javascript:void(0);" alt="browse"></a>
 </span>
</span>

Ti ṣàtúnṣe nípa cor-el

more options

Note that on Linux the width of input fields is usually determined by the number of characters and the the font-size and in the case the first input field isn't wide enough to cover the fake input field and browse button. The width setting (174px) in the CSS code doesn't seem the get honored.