TypeError: 'undefined' is not a function...

Hi guys

FO some reason any, it seems that included jQuery script that comes with BC gives me errors when I try to create a DOM change.

I get this error:

TypeError: 'undefined' is not a function...

When I add a CDN link to the latest jQuery from Google then my script works fine, but all the other BC specific modules (such as the menu) get stuffed...

See example of page where I am trying to add a simple background color where the word 'outdoors' appears in a span.

$("span:contains('Outdoors')") .css ('background', 'red');

http://stsstone.BusinessCatalyst.com/sample-page-1

See you soon

Micha

Thank you

I discovered that all the new jquery scripts would give me an error. This is because the script jquery incorporated into the BC model. Once removed BC scripts and added my own jquery or a CDN link all worked well.

See you soon

Micha

Tags: Business Catalyst

Similar Questions

  • MuseJSAssert: Error calling the function switch: TypeError: undefined is not a function (assessment '$element .on this.')

    As usual I never update muse immediately incase of any question, however, a few days after the update (have not installed the update) I go on my site, this message appear out of no where "MuseJSAssert: error calling the function switch: TypeError: undefined is not a function (assessment ' this.)" ($element.sur ') ".

    So I decided to install the update and see, but the message would have still done appear then I wiped my server and download all my files to perhaps solve the problem of Javascript, and yet the message is still displayed.

    Note that this came from nowhere even tho I don't update my muse or uploaded to my FTP in days.

    My site entire is now totally useless after months in manufacturing.

    Can anyone help?

    The error on the sites is caused by having custom include the code that loads several different versions of jQuery. A single Web page should only have one.

    The redirect URL that fails intermittently. We actively work to diagnose and fix that, but which will not only cause these errors. Each Muse site contains a snippet of JavaScript that silently and automatically returns to use the version of jQuery that muse will be mailed to your host if the CA version is not available for some reason any.

    The problem is a number of customer sites have wrong incorporated several different versions of jQuery. When the CDN version is available, it is used. Unfortunately, when it is not available, an incompatible version loaded by the custom code or third-party widget is used and which translates these errors.

    Long term loading multiple versions of jQuery should be removed from the code or the third-party widgets on your site. In the short term, we will have solved CDN failure and these errors will disappear, but they return in the future if multiple copies of jQuery in the code no Adobe added to the page are not deleted.

  • MuseJSAssert: Error calling the function switch: TypeError: 'undefined' is not a function (assessment '$('.browser_width').toBrowserWidth ()')

    Hello!!

    I m having this alert in my exploring when I try to open my site:

    MuseJSAssert: Error calling the function switch: TypeError: 'undefined' is not a function (assessment '$('.browser_width').toBrowserWidth ()')

    the site is www.tmed-mexico.com

    and opening belongs to another site that I designed too.

    What can I do? The peak of the shipment.

    screenshot.png

    I think you should contact your FTP/Web hosting provider and get more clarity on how your installation sites (they are both with the same hosting provider). You have two sites hosted on the same server - probably in two different files - that could be cause of all this confusion.

    In addition to the FTP server, username and password, you must also have a folder location to load your site content.

    See you soon,.

    Vikas

  • MuseJSAssert: Error calling the function switch: TypeError: 'undefined' is not a function (assessment ')

    Help, how do I fix this bug?

    MuseJSAssert: Error calling the function switch: TypeError: 'undefined' is not a function (assessment ' $('#u69').registerPositionScrollEffect ({"enterSpeedY": 1, "exitSpeedY": "offset" 0,:-0.04999 999999999005})')

    and I also have this error:

    MuseJSAssert: Error calling the function switch: TypeError: 'undefined' is not a function (assessment '$('.browser_width').toBrowserWidth ()')

    Help please help

    The most common cause of JavaScript errors on a page of Muse is missing from server or .js files or other files on the server, not all human beings of the backup of files .js version of Muse. If you use an external FTP client, you must re - download all the files and folders every time that a site is implemented using an updated version of Muse (since the code generated by changes of the Muse of liberation to free to improve page load performance, support new features, new versions of browsers or devices (, etc. of the address, etc.).

    The second most often the cause of errors JavaScript on a page Muse is bug embed code and/or include code that is in conflict with the JavaScript code used by Muse. Plan to temporarily remove your embed code to see if the problem goes away and so isolate the cause.

    And, of course, it is possible, a JavaScript error is caused by a bug in Muse or a bug in an update of the newly introduced browser, but frankly, given the level of tests that are placed in a statement of those who tend to be very rare and when they do occur, they are usually very quickly addressed by an update of Muse.

  • MuseJSAssert: Error calling the function switch: TypeError: undefined is not an object (evaluation of "a.rules")

    I have this error on my Web site every time that I go. It disappears when I refresh three times.

    "MuseJSAssert: error calling the function switch: TypeError: undefined is not an object (evaluation of"a.rules").

    I downloaded the site with Filezila.

    Please help, what's wrong here?

    Thank you

    Hi Barbara,

    The question began to happen after you downloaded using the latest version of Muse?

    If so, can you try to remove the old files of the web server and re-upload using Muse?

    Kind regards

    Akshay

  • typeError: L is not a function appears when I try to select an email to open

    whenever I try to open an email, or click one in the list I get typeError: L is not a function message. I tried the mouse and the mouse pad on my laptop and get the same result. It happens when I left-click with the mouse or the mouse pad.

    This problem may be caused by an extension that is not working properly.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do not click on the reset button on the start safe mode window or make changes.

    If it works in Firefox Safe mode and then disable all extensions (Tools > Modules > Extensions) and then try to find out who is causing by allowing an extension at a time until the problem reappears.

    Close and restart Firefox after each change through "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')

  • 'undefined' is not a function (cordova.exec assessment)

    Hello

    I have this error ['undefined' is not a function (assessment cordova.exec)] when I invoke barcodes

    window.plugins.barcodeScanner.scan (function (result) {}

    });

    in q10 (BB10) mobile blackberry but there is no question on Blackberry (Blackberry toruch 9830) smartphones.

    Please help solve this problem.

    Thank you

    Balakrishna.P

    It seems a bit of lag in versions.

    For example, Cordova did not support officially BlackBerry 10 up to 3.1.0.

    In addition, Cordova and WebWorks are two platforms of separate packaging. And SDK WebWorks 1.0.4.11 is not * Cordova based. For Cordova features, you must use 2.1.0.13 or later:
    https://developer.BlackBerry.com/HTML5/download/

    I highly recommend reading the above documentation on getting started with WebWorks. Without the appropriate version of the software, I expect some pieces of code in order to continue to fail.

  • "TypeError: undefined is not an object ' after the 2014.1.1

    I see the error: "TypeError: undefined is not an object (evaluation of"cpoint.getSymbolElement") in a composition of _upgraded that arouses points and tooltips to not appear in the charged composition.»

    Animate edge version 2014.1.1

    Mac OS 10.10.1

    Safari 8.0.2, 40.0.2214.94of Chrome, Firefox 35.0.1

    This question has started to happen after 2014.1.1 updated

    No changes have been made to my computer and I tested it on other computers with the same result

    Here is the improved composition that does not work: http://inlightmedia.com/edge-interactive-svg-maps_upgraded/

    Older composition which displays correctly the pins and ToolTips: http://inlightmedia.com/edge-interactive-svg-maps/

    Two compositions zip files: Zip file

    I strongly am a rookie Edge and JavaScript and have been amend this (which was created by someone else is no longer supports) according to my needs. Any help is at work in the new version of edge would be greatly appreciated.

    Thank you
    Jansen

    Hello

    It's compositionReady, the #34 line:

    You've written: var = cpoint sym.createChildSymbol ("point", "stage");

    and it was: var sym.createChildSymbol = cpoint ("point","STagus");

    step must be capitalized: stage.

  • This just error message started appearing yesterday: Application JavaScript - TypeError: window CloseAlert not a function.

    Application of JavaScript - TypeError: window of the CloseAlert not a function.

    What causes this error, can you help me fix?

    I use Windows 7 and the latest browser Foxfire.

    • If you have many extensions then first turn on half of test extensions that half the problem.
    • Continue to divide the bad half that still has the question until you find that one is causing it.
  • JavaScript exception: error calling the selection function: TypeError: undefined is not an object ('jQuery.browser.msie' assessment)

    Hi all

    my site www.theperthcollective.com is this error on the only secure site (https) on the Tickets Page Workshop tickets

    With ' some files on the server may be missing or incorrect. Clear the browser cache and try again, if the problem persists please contact the author of the Web site.

    Also the Mumblr widget does not work on the secure site.

    Can anyone help? IM at my wits end. I've tried everything I can think of and nothing worked. It is hosted with GoDaddy.

    Thank you

    Hayley

    Have you actually checked it in different browsers? with which browser you test? Since it specifically points to MSIE, this could be a fluke due to browser being obsolete...

    Mylenium

  • JavaScript exception: error calling the function switch: TypeError: undefined is not an object (evaluation "jQuery.browser.msie") - HOW I ME get RID OF THIS

    Screen Shot 2015-12-12 at 16.54.47.pngScreen Shot 2015-12-12 at 17.01.45.png

    Hello

    I get these errors a lot lately on my sites of muse - it happens when I rename pages or change the navigation menu - I tried several times and this isn't to do with external plugins - this is a bug of muse - appears when my loading sites and also when you select a page in the navigation bar - in the past for a single page websites - I just copy the contents in memory - remove the rebonding and page - everything and it works again - of course, I don't want to do that with Web sites with multiple pages - in the past, anyone in the forum mentioned deleting a file of muse on the server to reset something - any who want to add to it or guide me to solve these problems, so I know what to do when they arrive

    Jay

    Don't know if it's the same thing, but share this discussion JavaScript exception: error calling the function of selection: [object error] after the last update of the software Adobe Muse.  I export the html files and load them on my server.  I replaced all the files.  Only happens in IE11 just in case it helps.

  • Of ERROR APPEARS WHEN I LAUNCH MUSE SITE IN BROWSER: MuseJSAssert: error calling the function switch: TypeError: undefined is not an object ('jQuery.browser.msie' assessment)

    Hello

    I am at a loss why I get this error - I thought it might be hyperlinks on the page so I stripped all the links page to other pages I've had more than a month to is rearranged pages - and even removed from the homepage and glued in place - but this issue has not changed - how bad can I turn this extra - the error is so vague and make no mention of what that either I can target - any advice would be welcome.


    Jay

    Please try to re - publish the site, download all the files manually using any FTP client and then check.

    If still the same issue, we provide the url of the site.

    Thank you

    Sanjit

  • MuseJSAssert: Error calling function selector: TypeError: one is not defined

    An error occurs when an external script "MuseJSAssert: error by calling the selection function: TypeError: one is not defined" I use the Firefox browser. Help, please!

    Hello

    Try the suggestion given here Re: MuseJSAssert: error calling the function switch: TypeError: 'undefined' is not a function (assessment ' )

  • 'undefined' is not an object ("new blackberry.pim.contacts" evaluation)

    Hi, I'm working on the PIM contact. I did the CPO. That works well, but when I put implement this code in my project, I am getting following error

    TypeError: 'undefined' is not an object ("new blackberry.pim.contacts" evaluation)

    He comes to
    findOptions = new blackberry.pim.contacts.ContactFindOptions ();

    I added also permission

    <>ermissions >

    <>Ermit > access_pimdomain_contactsermit >

    ermissions >

    Any help

    I have error. To add the function id in the config file.

    I forgot that part.

  • BBUI.js action bar problem press button menu contextual assessment "undefined is not an object.

    I was updating my file bbui.js to the latest version and my screen splash action bar buttons are now broken when I deploy my Dev Alpha b with the updated OS 10.2. However, when I imitate the ripple app, there is no error message and everything works.

    When I open web-insector to see what the console bed after I pressed a button:

    "TypeError: 'undefined' is not an object (evaluation of"blackberry.ui.contextmenu.CONTEXT_ALL").

    I have a button in the context menu which worked very well forward on each of the pages.

    All my code is available for viewing at https://github.com/InnovateorDieOnline/BOTE

    Thank you in advance.

    Hi there, don't you update extension WebWorks (described in the components section required here.)
    https://github.com/BlackBerry/bbUI.js/wiki/context-menus

    The latest version of bbUI.js handles the Menu differently and you will need to make some changes, in addition to updating the script files.

Maybe you are looking for