We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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.

ఇంకా తెలుసుకోండి

Firefox for Android cannot get values from dropdown list

  • 2 ప్రత్యుత్తరాలు
  • 3 ఈ సమస్యలు కలిగి ఉన్నాయి
  • 128 వీక్షణలు
  • చివరి సమాధానమిచ్చినది Roland Tanglao

more options

Developer-related question:

I have a Javascript function written with Coldfusion that can retrieve values from dropdown lists. This works in both IE and Firefox for desktop/PC. However, no matter which value is selected in the dropdown list for Firefox for Android, the value is not updated.

Sample code: (html file) <select name='type_desc_list' size='7' tabindex="-1" style='font-family:Arial;top:200;left:200;position:absolute;visibility:hidden;' onClick='selBoxKeyEvent(this, 13);' onKeyUp='selBoxKeyEvent(this, event.keyCode);' onFocus='selBoxOnFocusEvent(this);' onBlur='hideSelBox(this);'> <option value="Large">Large</option> <option value="Small">Small</option> </select>

(js file) function selBoxKeyEvent(selBox, keyCode) { if (keyCode == 13) { if (getBrowser() == "IE") { var eventX = document.body.scrollLeft + event.x; var offsetScrollBar = 0; if (selBox.size < selBox.options.length) offsetScrollBar = 12;

flgProcesssbox = 'n' if (navigator.userAgent.indexOf('Trident/6') != -1) { flgProcesssbox = 'y' } else {

if (((eventX > selBox.offsetLeft) && (eventX < (selBox.offsetLeft + selBox.offsetWidth - offsetScrollBar))) || (eventX > selBox.offsetLeft + selBox.offsetWidth)) { flgProcesssbox = 'y' } }

if (flgProcesssbox == 'y') { assignValue(selBox); if(nxt_TB != 'n'){goNextIndex(selBox);}

hideSelBox(selBox); } } else { assignValue(selBox); if(nxt_TB != 'n'){goNextIndex(selBox);} hideSelBox(selBox); } } else if (keyCode == 27) { entryArray[0].focus(); } if (selopen== true) { selfocus= true; } }

Developer-related question: I have a Javascript function written with Coldfusion that can retrieve values from dropdown lists. This works in both IE and Firefox for desktop/PC. However, no matter which value is selected in the dropdown list for Firefox for Android, the value is not updated. Sample code: (html file) <select name='type_desc_list' size='7' tabindex="-1" style='font-family:Arial;top:200;left:200;position:absolute;visibility:hidden;' onClick='selBoxKeyEvent(this, 13);' onKeyUp='selBoxKeyEvent(this, event.keyCode);' onFocus='selBoxOnFocusEvent(this);' onBlur='hideSelBox(this);'> <option value="Large">Large</option> <option value="Small">Small</option> </select> (js file) function selBoxKeyEvent(selBox, keyCode) { if (keyCode == 13) { if (getBrowser() == "IE") { var eventX = document.body.scrollLeft + event.x; var offsetScrollBar = 0; if (selBox.size < selBox.options.length) offsetScrollBar = 12; flgProcesssbox = 'n' if (navigator.userAgent.indexOf('Trident/6') != -1) { flgProcesssbox = 'y' } else { if (((eventX > selBox.offsetLeft) && (eventX < (selBox.offsetLeft + selBox.offsetWidth - offsetScrollBar))) || (eventX > selBox.offsetLeft + selBox.offsetWidth)) { flgProcesssbox = 'y' } } if (flgProcesssbox == 'y') { assignValue(selBox); if(nxt_TB != 'n'){goNextIndex(selBox);} hideSelBox(selBox); } } else { assignValue(selBox); if(nxt_TB != 'n'){goNextIndex(selBox);} hideSelBox(selBox); } } else if (keyCode == 27) { entryArray[0].focus(); } if (selopen== true) { selfocus= true; } }

ప్రత్యుత్తరాలన్నీ (2)

more options

I dont have much idea about this thing. If you think its a bug, you should file it at https://bugzilla.mozilla.org/enter_bug.cgi

more options

hi poila_invictus

This site is a user support forum for user questions.

The best place to ask developer questions is on stack overflow; please tag your question firefox or html5-apps:

http://stackoverflow.com/questions/tagged/firefox+or+firefox-os+or+html5-apps

hope that helps!

...Roland