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 4087550
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:52:09+00:00 2026-05-20T18:52:09+00:00

Message: Expected identifier, string or number Line: 136 Char: 8 Code: 0 This is

  • 0

Message: Expected identifier, string or number
Line: 136
Char: 8
Code: 0

This is the section where it occurs – (6th-last line: ‘},’)

                <script type="text/javascript">
                    jQuery(document).ready(function($) {
                        ThreeWP_Ajax_Search.init({
                            name : "Default Ajax Search that works with Twentyten 2011-03-14 23:09:31",
                            name_md5 : "f02b704d9a6e3111c721adb5de87e883",
                            chars_before_search : 0,
                            time_before_search : 200,
                            cursor_key_navigation : 1,
                            cursor_key_navigation_loops : 1,
                            results_to_display : 10,
                            selector_search_form : "#searchform",
                            selector_search_input : "#s",
                            selector_search_results : ".hentry",
                            selector_search_results_content : ".threewp_ajax_search_results_content ul",
                            display_format_header : "<div class=\"threewp_ajax_search_results_content\">\
<ul>",
                            display_format_item : "<li class=\"%item_class%\">%item%</li>",
                            display_format_footer : "</ul>\
</div>",
                            callbacks : {
                                "after_init" : function(form_object, callback){
    $("input", form_object).attr("autocomplete", "off");
    callback();
},
                                "after_fetch" : function(form_object, callback){
    callback();
},
                                "before_hide" : function(form_object, callback){
    $(".threewp_ajax_search_container", form_object).fadeTo(250, 0.0, callback);
}
,
                                "before_show" : function(form_object, callback){
    $(".threewp_ajax_search_container", form_object).fadeTo(250, 1.0, callback);
}
,
                            },
                            search_url : "http://domain.com/?s="
                        });
                    });
                </script>
  • 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-20T18:52:09+00:00Added an answer on May 20, 2026 at 6:52 pm

    Your before_show line has a trailing comma, after the }:

    "before_show" : function(form_object, callback){
        $(".threewp_ajax_search_container", form_object).fadeTo(250, 1.0, callback);
    }
    ,
    

    Trailing commas aren’t strictly legal in JS, and IE throws an error on them. Remove the trailing comma and it should work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Line: 151 Character: 6 Code: 0 Error Message: Expected identifier, string or number The
This code won't compile and generates the error message Expected a type. As the
I got this message: expected 'void **' but argument is of type 'char **'
i got this error: Compiler Error Message: CS1001: Identifier expected from this set of
Getting red warning message that expected identifier for this statement CALayer = ImageView.layer; Using
I am getting this message in unit test expected:<interface java.sql.Connection> but was:<class com.mysql.jdbc.JDBC4Connection> from
This is one of the lines in my routes file: GET /detail controllers.Message.detail(type: String,
Getting message expected identifier in red for below these two statements } else if
Error message doesn't display on mysql connect failure if( ! $this->remote_connection_id = @mysql_connect($vars['hostname'], $vars['username'],
I have this piece of code: @RequestMapping(value = /test.json, method = RequestMethod.GET) @ResponseStatus(HttpStatus.OK) public

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.