Combo box would not show selections in Firefox but works in Chrome
When I access a particular website (http://www.livetimeonline.com/app/Register.aspx) and try to select the Country from the combo box, there is no reaction in Firefox. This however worked before (last time I tried was 2 days ago) and it works on Chrome as well. I have the latest Firefox version 42.0 I have tried with: - Clearing cache and deleting all cookies - Clean re-install of Firefox (including the profile)
所有回覆 (2)
For me, both Firefox and Chrome are bombing on line 618 of the page, on the function call:
WebForm_InitCallback();
Firefox Console:
ReferenceError: WebForm_InitCallback is not defined Register.aspx:618:1
Chrome Console:
Uncaught ReferenceError: WebForm_InitCallback is not defined(anonymous function) @ Register.aspx:618
I think that function call got into the page by accident because there already are calls to that in a different script file (which first check to make sure it exists, which would avoid this error).
Unfortunately, this is not easy to work around as an end user, the site really needs to fix it.
If you do need a workaround, you could try this:
(1) Open the following page, then click RAW (or you can try the second link):
http://pastebin.com/GrFuGQs0 http://pastebin.com/raw.php?i=GrFuGQs0
Select the whole line of code (Ctrl+a) and copy it (Ctrl+c)
That code is everything else on lines 618-620 that isn't running due to the script error surrounded by javascipt:void(...) so it can be run as a bookmarklet.
(2) Right-click a convenient location on your Bookmarks Toolbar or Bookmarks Menu and choose New Bookmark
(3) Paste the code into the blank space for Location (Ctrl+v)
(4) In the blank space for Name, type Country or the name of your choice, then click Add to save the bookmarklet
To use it, while on that page, click the bookmarklet once to run the code which inserts all the countries into that control, and then you should be able to use it.
IMPORTANT: This allows me to select a country, but I didn't try submitting the form because... I don't want to create an account.