javascript,jquery,ajax,selectize.jsView the original page-Collection of common programming errors

UnKnown Error


  • Aaron J Spetner
    javascript internet-explorer 2013-12-14 2:36:00
    I have a web application that is working perfectly in Chrome and FireFox, yet is crashing in IE. Note, this is not a JavaScript error, but rather the iexplore.exe process actually crashes.The code is posted below. This will crash in IE9 (when the button is clicked). Reversing the JavaScript or making changes to the CSS may eliminate the issue, but realize that this is reduced code from a much, much larger application that can not be easily changed in this way (for example, in the actual app the

  • Everlag
    javascript google-chrome coffeescript web-audio 2013-12-14 2:33:21
    Trying to build a webgl audio visualizer with a small engine I made for column landscape which I thought would be great for a frequency distribution over time.Right now this, which is compiled from coffeescript, crashes the tab:(function() {var context, loadSound, onError, playSound, soundBuffer, url;context = new webkitAudioContext();soundBuffer = void 0;url = ‘MoxxiTest.ogg’;loadSound = function(url) {var request;request = new XMLHttpRequest();request.open(‘GET’, url, true);request.responseTyp

  • Muffun
    javascript jquery html jquery-plugins ie7-bug 2013-12-14 1:22:21
    I have a photo/video gallery and I apply the Yoxview jquery plugin on. On every browser their is no problem except for IE7.I try to update my code to the latest version of the plugin but it does not helped.The strange part is that I go on the Yoxview site, IE7 doest not crash.This is the code is use:$(“.Gallery”).yoxview();.Gallery is a div with nested a that contains img.Do anybody have encounter this situation before me?NOTE: The problem exist even if their is only 1 image on the page.

  • rickyduck
    javascript node.js google-chrome meteor v8 2013-12-14 1:06:47
    I have a Node.js / Meteor app that is left consistently running on a screen – it works no problem for around 20 hours, then without fail (when I’m out of the office) I get the infamous “Aw Snap” screen:I have checked the chrome_debug log and the following line indicates the crash: [3868:3656:0515/030350:FATAL:platform_canvas.cc(70)] SK_CRASHHowever gives me nothing to go on – googling the error and variations retrieves very little results. What could I do to debug further?

  • geet
    javascript android api google-maps-api-3 2013-12-13 23:35:00
    My web app creates an editable Circle on Google Maps using the Javascript API. The circle is movable and works fine in mobile browsers except the Android native browser. For some reason moving the circle around causes the browser to completely crash. Here’s the coffeescript used for Google Maps. polyOptions =center: latLng,radius: 3.44,map: @map,strokeColor: “#FF0000”,strokeOpacity: 0.8,strokeWeight: 2,fillColor: “#FF0000”,fillOpacity: 0.35,draggable: true,editable: false@poly = new google.maps.

  • mmo
    javascript jquery checkbox jquery-ui-dialog 2013-12-13 23:28:50
    in on of my projects i am using iButton (http://www.givainc.com/labs/ibutton_jquery_plugin.htm) to style checkboxes.this works fine in most cases, but it crashes if it is in a hidden container, which gets displayed later and it is not working inside the jquery-ui dialog.in detail: in a hidden container it cannot calculate the correct sizes of the button and the labels and so on. in the jquery-ui dialog the labels of the iButton are not moved, even their margin values change as expected, they sta

  • David Roop
    javascript android dialog 2013-12-13 22:18:17
    I get a crash report every few weeks about a java.lang.IllegalArgumentException and I really don’t know where to start looking. I have never had the app crash while testing it as far as I can tell the app gets opened around 300 times a week so the crash doesn’t happen very often but I would still like to fix it. It says its on a dialog dismissal but I have multiple dialogs in the app. Can any one tell me more about what this crash report means and also how you arrived at your conclusion? java.la

  • alpana
    javascript joomla2.5 webcam setinterval 2013-12-13 21:31:34
    here’s my situation : I have written a small javascript code to autorefresh images coming into my server from external source every 5 Seconds, on the same lines as we would refresh images for a webcam.This js needs to be used in website being made using Joomla. problem The Javascript causes the broswers’ FF and Chrome to crash after sometime. I’m attaching the code. Please tell me where I’m going wrong.<body><center><h2>human cam</h2><img id=”pic” src=”images/CB1.jpeg

  • Tamil Vendhan
    javascript jquery recursion 2013-12-13 19:04:20
    I have this javascript / jquery function:function press_quotes_slider(ele) {jQuery.fn.exists = function(){return this.length>0;}if ($j(ele).next().exists()) {var ele_next = $j(ele).next();} else {var ele_next = $j(‘#press_quotes’).children().first();}ele.fadeOut(4000);ele_next.fadeIn(4000);press_quotes_slider (ele_next);}I’m having a problem with this crashing Chrome. If I disable the recursive aspect of this function, it runs fine so this doesn’t appear to be a syntex error.Can anyone sugges

  • Lance Roberts
    javascript ruby-on-rails ruby json 2013-12-13 18:27:21
    I wonder why i cant decode this json string, all what i want is to convert this to a proper Ruby hash, anyone have an idea? i think the array of objects is cracking it ?Parameters: {“{\”origins\”:”=>{“{\”origin\”:\”this\”},{\”origin\”:\”dont\”},{\”origin\”:\”dont me please\”},{\”origin\”:\”and me please\”},{\”origin\”:\”dont\”},{\”origin\”:\”dont\”},{\”origin\”:\”dont\”},{\”origin\”:\”okay\”},{\”origin\”:\”dont\”},{\”origin\”:\”go\”},{\”origin\”:\”go\”}”=>{“,\”url\”:\”file:///Users/wahe

  • eric.itzhak
    jquery internet-explorer jquery-effects 2013-12-14 2:37:02
    Well as weird as it sounds it’s that simple. i can’t understand why but if i comment the fade in it dosen’t crash and works perfectly.Same result in IE 8 &9When i say crash i mean i get the following message (Windows 7) :Internet Explorer has stopped working, windows will look for solutionI don’t think u want to see the entire code because there’s alot of JS involved but the relevant part is :$(‘#add_image_upload’).fadeOut(1000, function(){}); // has some commented code insidehtml :<div i

  • Muffun
    javascript jquery html jquery-plugins ie7-bug 2013-12-14 1:22:21
    I have a photo/video gallery and I apply the Yoxview jquery plugin on. On every browser their is no problem except for IE7.I try to update my code to the latest version of the plugin but it does not helped.The strange part is that I go on the Yoxview site, IE7 doest not crash.This is the code is use:$(“.Gallery”).yoxview();.Gallery is a div with nested a that contains img.Do anybody have encounter this situation before me?NOTE: The problem exist even if their is only 1 image on the page.

  • mmo
    javascript jquery checkbox jquery-ui-dialog 2013-12-13 23:28:50
    in on of my projects i am using iButton (http://www.givainc.com/labs/ibutton_jquery_plugin.htm) to style checkboxes.this works fine in most cases, but it crashes if it is in a hidden container, which gets displayed later and it is not working inside the jquery-ui dialog.in detail: in a hidden container it cannot calculate the correct sizes of the button and the labels and so on. in the jquery-ui dialog the labels of the iButton are not moved, even their margin values change as expected, they sta

  • Bradley Bell
    jquery internet-explorer 2013-12-13 22:43:58
    Okay basically, I’m designing and developing a fairly complicated website which revolves around the use of jQuery.. My knowlege of jQuery is really poor and this is the first time I’ve properly used it. I posted a question here before about the script and apparently its awful, but I didn’t show you exactly what I was actually writing it for, which I can now.. Because I’ve uploaded it onto a test directory. It now works fine in every browser other than IE. The CSS styling is getting there and it

  • Tamil Vendhan
    javascript jquery recursion 2013-12-13 19:04:20
    I have this javascript / jquery function:function press_quotes_slider(ele) {jQuery.fn.exists = function(){return this.length>0;}if ($j(ele).next().exists()) {var ele_next = $j(ele).next();} else {var ele_next = $j(‘#press_quotes’).children().first();}ele.fadeOut(4000);ele_next.fadeIn(4000);press_quotes_slider (ele_next);}I’m having a problem with this crashing Chrome. If I disable the recursive aspect of this function, it runs fine so this doesn’t appear to be a syntex error.Can anyone sugges

  • Brock Adams
    javascript jquery internet-explorer-7 2013-12-13 17:25:30
    HTML:<div id=”overlay_weekPrize”> <div class=”prizePopupBanner”></div><div id=”weeklyPrizeImageBanner”><!–the big banner images/weeklyPrizeImageBanner–><div id=”week1″><img src=”images/bts/bts_overlay_weekly_prize_week1.png” alt=”week prize” /></div><div id=”week2″ class=”inactive_banner”><img src=”images/bts/bts_overlay_weekly_prize_week2.png” alt=”week prize” /></div><div id=”week3″ class=”inactive_banner”><img src=

  • Jeremy Banks
    javascript jquery 2013-12-13 15:00:22
    Disclaimer: Do not try this at homeWhy, if I am using jQuery, does $($) freeze the page?

  • user1177860
    jquery 2013-12-13 14:17:17
    I have the following codefunction manChecks() {if ($(“#__CS”).length > 0) {var cols = $(“#__CS”).val();for (var i = 1; i <= 9; i++) {colManage(i, cols.indexOf(‘|’ + i) != -1);}} }So what happens if that code is less than 0 it shouldn’t run – but it seems to be causing an issue.Have a written this correctly or have I missed something.

  • BarlasApaydin
    javascript jquery colorbox 2013-12-13 14:16:06
    When im trying to load a page sometimes its crashing and not loading, My browser is saying its jQuery but thats hosted with Google, If I remove this however everything else seems to work fine, Can anybody see any errors in my code or know where I can go to validate this? $(document).ready(function(){$(“.group1”).colorbox({rel:’group1′});$(“.group2″).colorbox({rel:’group2′, transition:”fade”});$(“.group3″).colorbox({rel:’group3′, transition:”none”, width:”75%”, height:”75%”});$(‘#viewport’).carou

  • user1312750
    javascript jquery html 2013-12-13 6:01:01
    Chrome crashes with this JS. There is a form with multiply inputs. The JS code has to check before submit were they filled or not. But after success submit Chrome crashes.<script> $(document).ready(function(){var form = $(‘form#add’);form.submit(function(){var filledInputs = $(‘form#add input[value!=””]’);$(‘form#add input[value=””]’).css(‘border’,’solid 1px red’);filledInputs.css(‘border’,”);if (filledInputs.length >= 9) {form.submit();return true;} else {return false;}}); }); </sc

  • James Simpson
    apache2 httpd.conf ajax push comet 2013-12-13 14:17:56
    I’m trying to setup Ajax Push Engine (http://ape-project.org) on a CentOS server. I’ve installed the APE Server and verified that it is running correctly. I setup a subdomain on a separate IP, but I still can’t get the javascript to connect. I think I am setting up the virtual host incorrectly, but I’m not completely sure.<VirtualHost *> Servername domain.com ServerAlias ape.domain.com ServerAlias *.ape.domain.com DocumentRoot “/home/domain/public_html/ape/” </VirtualHost>The Doc

  • Thomas
    php ajax forms post 2013-12-13 11:17:25
    Im trying to submit user register information with AJAX like this:<script>$(“#submit_btn”).click(function() { event.preventDefault(); var supplied_username = $(‘#desired_username’).val(); var password = $(‘#password’).val(); var email_address = $(‘#email_address’).val();$.post(“register”, { desired_username: desired_username, password: password, email_address: email_address } , function(data){$(‘body’).append(data); }); }); </script>The return data is simply a string of text (i.e. Su

  • Iain
    mysql php ajax 2013-12-13 0:40:18
    The website gets its data from the MySql database.Will a Mac Mini with 2GB Ram and an Intel Core 2 Duo do the trick?

  • Stefan Fandler
    javascript ajax website crash chat 2013-12-12 12:35:48
    I am building a website on a free website provider (000webhost) and I am currently working on a chat. I have set an interval every 500ms which reads a file and checks if a new message was posted. If there is a new one, i load all messages from a .txt-file into a element in html. It is nearly finished but after long chatting or just being on the chat-page (3 minutes or more), my site crashes and I have to wait about an hour till i can access it. I am refreshing the chat using javascript and ajax

  • digiwig
    jquery ajax internet-explorer crash response 2013-12-12 3:20:02
    Another IE problem – this time with ajax reponse data being too large.With FF and Chrome the result is shown almost instantly. IE however freezes for a while before the results are shown. The format is HTML returned from a simple db query, and in some instances the reponse data is 900 rows long.Seriously, what can I do to speed up IE?

  • Joe
    ajax server-side business-logic 2013-12-12 0:52:24
    A typical stack for a web application is a database, a server with server-side code, and a user with a browser with HTML/CSS/JavaScript.Before extensive AJAX, MVC in which the controller was the server-side code rulled. A server had to route answer requests for Dynamic web pages (i.e. templated html solutions like JSP and ASP). The server to coordinate the calls to the database and decide which dynamic page to use to answer the page request. The result of all of this is that server ended up c

  • Mathew Foscarini
    design web-development javascript ajax error-handling 2013-12-11 21:06:01
    What is a hidden AJAX request?I’ve noticed an increase in the usage of hidden AJAX requests designed to make a user’s action appear to happen immediately. I’ll refer to this type of AJAX request as non-blocking. It’s an AJAX request made without the user being aware it’s happening, it’s performed in the background and it’s operation is silent (there is no verbose to indicate a successful completion of the AJAX call). The goal is to make the operation appear that it has happen immediately when it

  • YePhIcK
    jquery ajax http google-chrome crash 2013-12-11 9:09:11
    This thing has been bugging me for some time now and I can’t find a reason/solution on the Web so far. Here is the setup:I have a fat JS client running on a browser, firing up search requests into an internal system. Those requests are just GET’s, nothing special. They return a URL where the search results will be put into once they are available.I then poll the given URL for results (from time to time, say every 5 minutes) and process the data to be presented to user. That URL points to a gzipp

  • Refineo
    6 hooks ajax jquery 2013-12-10 19:38:48
    I’m currently developing a module for Drupal 6 to output my webform entries to a table that can be filtered and searched.I’ve got an AJAX callback function that returns my sql query but I can’t figure out how to add line breaks as the data from each form field is in different rows in the database as per the webform module.This is my callback function so farfunction web_form_table_get_table($arg1){$query = “SELECT nid, sid, cid, no, data ” .”FROM webform_submitted_data ” .”ORDER BY sid desc, c

  • Druvision
    views ajax 2013-12-10 18:55:39
    We have Drupal 7. An AJAX request causes deeply nested divs like this screenshot:(We experience phenomenum #2 from this Drupal 8 issue:View output gets deeply nested in blank divs. This could get insane if the user interacts with the ajax requests for some time.We got auto-refresh javascript in our forex application. When leaving the view open overnight, the number of DIVs is really becoming insane. At some moment, the browser will crash.Is there any Drupal 7 bypass?

  • Charles
    javascript jquery ajax selectize.js 2013-10-11 13:38:42
    I want to know which dropdown is clicked or changed where multiple selectized dropdowns are exist. I have two containers having country and state dropdows. What I want to do is that, when a country dropdown is click the state dropdown which is in the same contanier as clicked country dropdown will be filled with fetched data.my js code is follwing;var xhr , a;var country, $country;var city, $city;$country = $(“.select2-country”).selectize({render: {option: function(item, escape) {var markup = “