Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6962543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:40:27+00:00 2026-05-27T15:40:27+00:00

I’m not an internet guru by any means, I do however like to tinker

  • 0

I’m not an internet guru by any means, I do however like to tinker around and build myself tools. One of my latest tools was an “advanced” search for a vb bulletin, they disabled some of the search options. I wrote up and tested in Google Chrome, works perfect. I cannot for the life of me figure out why it will not work in FF or IE.

The premises:
This page takes your query and search options, formats a url, and then opens it in a new window.

I have asked Q’s here before, but typically have narrowed down the issue to a small amount of code. Since this is a cross browser issue, I have no clue how to approach releasing code. So what I will do is give the link to the site and ask you to check the source. I am also opened to any suggestions on how I can post the source here to make things easier.

Page:
http://advlolsearch.herobo.com/

JS:
http://advlolsearch.herobo.com/js/page.js

CSS:
http://advlolsearch.herobo.com/css/mystyle.css

Solved:
Heyooooooo! I found the issue. I needed to change:

$(".button").click(function() {
    var ID = event.target.id

to

$(".button").click(function(event) {
    var ID = event.target.id

Chrome understood what I was doing but FF wanted to derp out on me. Thanks for the help all. Leaving this open though because I have a few running questions in the comments.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:40:27+00:00Added an answer on May 27, 2026 at 3:40 pm

    This is really a comment (not an answer), but I can’t put significant chunks of code in a comment so I’ll put it here since I think it would be helpful. This is probably not your cross browser issue (I suspect that’s caused by popup blocking), but you really ought to DRY out your code and remove all the repeated pieces of code by putting all the data into a table and looking it up from a table with one short piece of code like this:

    ...
    if (val=="forum") {
        var selectedforum = $('#select').val();
        var searchby = $('input:radio[name=search]:checked').val();
        var showas = $('input:radio[name=show]:checked').val();
        var dataLookup = {
            na: {
                all: [],
                np: [29],
                tg: [29],
                mm: [48,49,43],
                sr: [48],
                tw: [49],
                dm: [43],
                ll: [9,2,16,41,23,15,20,32]
                // ... put the rest here
            },
            euw: {
                all: [],
                np: [4]
                // rest of the data here
            },
            eune: {
                all: [],
                np: [4]
                // rest of the data here
            }
        };
        if (region in dataLookup) {
            var data = dataLookup[region];
            if (selectedForum in data) {
                fID = "";
                for (var i = 0; i < data[selectedForum].length; i++) {
                    fID += "&forumchoice[]=" + data[selectedForum][i];
                }
                var theURL = "http://" + region + ".leagueoflegends.com/board/search.php?do=process&query=" + query + fID + "&titleonly=" + searchby + "&showposts=" + showas;
                theURl = theURL.replace(' ','%20');
                window.open(theURL);
            }
        }
    } else if ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
For some reason, after submitting a string like this Jack’s Spindle from a text
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I would like to count the length of a string with PHP. The string
I've got a string that has curly quotes in it. I'd like to replace
I am reading a book about Javascript and jQuery and using one of the
I am trying to render a haml file in a javascript response like so:
I would like to run a str_replace or preg_replace which looks for certain words
We're building an app, our first using Rails 3, and we're having to build
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.